Changing path to basedir of mysql
Posted
by
shantanuo
on Server Fault
See other posts from Server Fault
or by shantanuo
Published on 2013-11-03T09:28:50Z
Indexed on
2013/11/03
9:57 UTC
Read the original article
Hit count: 263
When-ever I need to start mysql from command line, I need to cd to the base directory and then use mysql command as shown below:
# cd /home/ec2-user/percona-5.5.30-tokudb-7.0.1-fedora-x86_64/
# ./bin/mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
mysql>
How do I start mysql simply by typing "mysql" at command prompt? I tried to export the path but it did not work.
export path=$PATH:/home/ec2-user/percona-5.5.30-tokudb-7.0.1-fedora-x86_64/bin/
© Server Fault or respective owner