Web Hosting Talk







View Full Version : MySQL Path


Dedicated
11-03-2001, 05:13 PM
how can I find the path for MYSQL on the server please.

Lmax
11-03-2001, 05:54 PM
Use telnet/ssh to login to shell and do a "locate mysql"
Look for something with /bin/mysql in the path

bitserve
11-04-2001, 12:32 PM
If you're installing/compiling a program and it asks you for the path to mysql, they're usually asking for the directory that directly parent's your mysql directory (the one where the database directories are located).

An easy way to find this might be:

locate host.frm

Then remove the last two directories.

like if it comes back /usr/local/mysql/mysql/host.frm, then your path would be /usr/local

comphost
11-07-2001, 06:11 PM
Your Probably doing a php install
and the path would most likely just be /usr/local

see if /usr/local/mysql is there and if so thats what it wants