[root@lamp mysql-5.1.72]# ln -s /usr/local/mysql5.1.72/ /application/mysql
[root@lamp ~]# cd /application/mysql/
[root@lamp mysql]# ls
bin include lib libexec mysql-test share sql-bench
[root@lamp mysql-5.1.72]# mysql -uroot -p
Enter password:
Welcome tothe MySQL monitor. Commands endwith ; or \g.
Your MySQL connection idis9
Server version: 5.1.72 Source distribution
Copyright (c) 2000, 2013, Oracle and/orits affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/orits
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
+--------------------+2 rows inset (0.00 sec)