upsforum

Well-Known Member
Jul 27, 2005
473
0
166
In WHM if set a remote mysql server (with Remote mySQL Host Setup option) I can also continue to use the mysql localhost?
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
Yes you can use remote and localhost separately without issues. Just point your connection scripts to the proper location.

As for your second question, I do not understand what you are asking. I will comment that in order to ssh to the remote database, you would need to ssh directly to that server or setup a tunnel.

You can however, manage the remote location via phpmyadmin on the web server or you can set phpmyadmin to manage your local mysql, however you like to set it up.
 

upsforum

Well-Known Member
Jul 27, 2005
473
0
166
Hi,

Thank you for your responce, for communication fast I thing if run the queries (SELECT, UPDATE etc..) from remote mysql this is fast?
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
Fast? Mysql is Mysql. How fast depends on the server, how heavy the querys and the connection. Best performance will be over a private switch between the web server and mysql server. Best performance would be database replication with master / slave servers for a total of 3 servers.

Setting up your web server to send insert querys to the master and read querys to the slave would be the ultimate in speed and versatility provided most of your querys are balanced between read and write. Otherwise, a single remote database server would do well over a switch.