Web Hosting Talk







View Full Version : How would I know if MySQL is installed in my server?


certify
08-04-2001, 05:57 AM
What is the command line to check if MySQL is installed in my server?

sitekeeper
08-04-2001, 06:15 AM
Type: mysql -v

This will display the version info, for more info, go to Mysql Command-line Tool (http://www.mysql.com/doc/m/y/mysql.html)

Bob ;)

certify
08-04-2001, 06:25 AM
I got the command not found? :confused:


[root@cheng bin]# mysql -v
bash: mysql: command not found

microsol
08-04-2001, 06:39 AM
Type:
whereis mysql

and it should return a path like

mysql: /usr/local/mysql

:)

certify
08-04-2001, 06:49 AM
I got this.. I still can't issue any mysql command.


[maint@cheng /]$ whereis mysql
mysql:
[maint@cheng /]$

microsol
08-04-2001, 07:05 AM
Then i don't think you have it installed. :(

You can also type: locate mysql

If this does not return anything, you havent installed it for shure.
Hope it helps.

certify
08-04-2001, 07:12 AM
Any instrustions on how to install it?

mikeknoxv
08-04-2001, 11:23 AM
Get the latest version of MySql at www.mysql.com. Then visit http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page6.html for instructions on installing it.