MySQL v4.1.10 for Linux
A multi-threaded, Structured Query Language (SQL) database server with high execution performance, fast operation speed, and ease of use. At present, many commercial Web virtual host Products in China provide support for it.
Http://down.chinaz.com/S/12030.asp
1. decompress the MySQL installation file to a directory. For example,/usr/local/src/
2. Add User Groups and users
# Groupadd MySQL // Add a MySQL user group
# Useradd-G MySQL // Add User MySQL to the MySQL user group
3. Create the original program directory Link
# Cd/usr/local/
# Ln-S/usr/local/src/mysql-standard-4.1.10-pc-linux-gnu-i686/MySQL // create a directory link to the original program under/usr/local/
4. Create an authorization table for MySQL
# Cd MySQL
# Scripts/mysql_install_db -- user = MySQL
5. MySQL directory program root and MySQL user authorization
# Chown-r root.
# Chown-r Mysql Data
# Chgrp-r MySQL.
6. Start the MySQL Service
# Cd/usr/local/MySQL/support-files/
#./MySQL. Server start
7. Test
#/Usr/local/MySQL/bin/MySQL
The prompt for mysql> appears. The installation and running of MySQL are successful.
Enter select now (); Press enter to see the following output interface.
Code: |
+ -------------------------------- + | Now () | + -------------------------------- + | 20:00:03 | + -------------------------------- + 1 row in SET (0.00 Sec) |
Mysql> enter quit at the prompt to exit
Tip: For more MySQL operation instructions, see the MySQL manual.
8. Disable the MySQL service.
#/Usr/local/MySQL/support-files/MySQL. server stop
Tip: You can create a connection to open and close MySQL applications on your desktop to improve your work efficiency.