Download the MySQL installation file
Installing MySQL requires the following two files: MySQL-server-4.0.16-0.i386.rpmMySQL-client-4.0.16-0.i386.rpm
Download address: http://www.mysql.com/downloads/mysql-4.0.html, open this page, drop down the page to find the "Linux x86 RPM downloads", find “Server” and “Client Programs & rdquo; items, download the above two rpm files.
The rpm file is a software installation package developed by Red Hat. The rpm allows Linux to eliminate many complicated procedures when installing packages. The commonly used parameter for this command is –ivh, where i indicates that the specified rmp package will be installed, V indicates the details of the installation, and h indicates that the quo;;#” symbol appears during installation to show the current installation process. . This symbol will continue until the installation is complete.
Installing the server side
Run the following command in a directory with two rmp files: [root@test1 local]# rpm -ivh MySQL-server-4.0.16-0.i386. The rpm displays the following information. Warning: MySQL-server-4.0.16-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5Preparing… ############################## ##################[100%]1: MySQL-server ###################################### ##################### [100%]. . . . . . (Omitted) /usr/bin/mysqladmin -u root password ‘new-password’/usr/bin/mysqladmin -u root -h test1 password ‘new-password’. . . . . . (Omitted to show) Starting mysqld daemon with databases from /var/lib/mysql
If the above information appears, the server is installed. If the test is successful, you can run netstat to see if the Mysql port is open. If it is open, the service has been started and the installation is successful. The default port for Mysql is 3306. [root@test1 local]# netstat -natActive Internet connections (servers and established)Proto Recv-Q Send-Q Local Address Foreign Address Statetcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN above shows that the MySQL service has been start up.
Installing the client
Run the following command: [root@test1 local]# rpm -ivh MySQL-client-4.0.16-0.i386.rpm displays the following message warning: MySQL-client -4.0.16-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5Preparing… ########################################### ############## [100%]1: MySQL-client ################################################## ################ [100%] shows that the installation is complete.
The following error message appears after starting vnc4server: LSPPC-Lenny:~# vnc4serverxauth: (stdi
Ten years ago, Red Hat Enterprise Linux was released, marking the official entry of Linux into enter
DNS (Domain Name System), a distributed database on the Internet that maps domain names and IP addr
Webalizer is a commonly used web log analysis script under Linux, of course, for nginx. I am curious
How to build Debian apt-get source on redhat
Using the history command in Linux to improve efficiency
Rookie class: teach you how to improve the security of Linux system
Static/dynamic integrated debugging mode for embedded LINUX system
Defense under Linux: How to mitigate DDOS attacks
CentOS6 mounts read and write NTFS partitions (ntfs-3g)
Linux server is running for 210 days or so
AMD says non-Android/Linux/Win systems are meaningless
The final solution for the Eva qq crash of QQ software under Linux
Linux dynamic library and static library comparison file preview
Solve the inability to access Windows7 file under XP3
How to set the virtual memory shortage? Win8/win8.1 virtual memory settings tutorial
Win7 hardware acceleration gray can not be used how to do
Fun Windows7: Windows 7 and Vista system shortcuts Daquan (6)
Tencent video web version download video detailed steps teaching
Win7 notebook high-resolution setting method
Win8 cancels the metro function method
How does Win10 clear all dynamic tile messages from the Start menu at the same time?