Symbolic Link from w/ Mysql
Hello everyone,
Trying to accomplish a simple task in Slackware10 by creating a symbolic link to mysql. Here's the command i'm using.. root@somehost:/# ln -s /usr/local/mysql/bin/mysql mysql The command executes successfully, but if i then try to type mysql nothing happens, no error or any execution. If i type in ./mysql i receive the following message, which is what i want. root@somehost:/# ./mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) How can i make it so i can just type mysql from any directory and it executes mysql? Thanks for any help, - RJ |
Create an alias, probably work better or just simply add the mysql commands directory or path to your own path.
|
All times are GMT -5. The time now is 04:02 AM. |