-
SitePoint Zealot

i am desperately looking for a script that would tell me the full path to mysql on my server.
thanks
-
Do you want the full path to the client or the server?
For the server, type this at the shell:
locate safe_mysqld|grep -v man
That's the location to the script which starts the server.
For the mysql client, type this:
which mysql
-
if you want the mysql path to connect to
generally
/usr/local/mysql/bin/mysql
or
/usr/bin/mysql
otherwise, do what quinn said, and it should be in the same directory as safe_mysqld
-
SitePoint Zealot

thanks guys!
the problem has been solved.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks