Linking MySQL Workbench to my Remote Server

后端 未结 2 789
野的像风
野的像风 2021-02-09 20:33

I\'ve just downloaded MySQL Workbench.

But I don\'t quite understand how to syn this with the databases on my remote server.

Work bench asks for \"hostname\" so

2条回答
  •  难免孤独
    2021-02-09 20:46

    Your phpMyAdmin seems to run on the same server as the database itself.

    Therefore, it can use username@localhost to connect to the server.

    You would need to make mySQL accept connections from outside localhost by adding another user username@% (% meaning "any host").

    Note however that this is not good practice - if you have a static IP, consider limiting access to that one address.

提交回复
热议问题