Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

MySQL Configuration

If I configure MySQL on ServerA & ServerB, on ServerB, can I issue a command on ServerA: mysql -uroot -p -hServerB in order to return the result to ServerA ?

Is it possible for ServerA be a sql client such that I don't need to install the mysql on it ? Any configuration guide ? Tks
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

You can use the 'msyql' command line program to get results from a different server and the results will show on the 'msyql' command line you are viewing.  The 'msyql' command line program is part of the installation of the MySQL server.  I do not know if it is available separately.

Many other programs are available to do that including MySQL Workbench but all the ones I know of are GUI programs, not command line programs.  phpMyAdmin can be set up to access remote MySQL server also if you have it running on ServerA's web server.
Avatar of AXISHK
AXISHK

ASKER

To clarify, both servers need to install with mySQL first. And I can issue sql command on ServerB to get the result on Server A, ie

Server B#mysql -uroot -p  -h Server A

Correct ?

Is it possible to configure a mySQL proxy ?

Tks
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial