Install mysql1. download: mysql address: dev. mysql. comdownloadsmysql select the type you want to download, this package has two servers we want to use, clinet2. unzip: There are a lot of files, the following uses the two MySQL-client-5.5.20-1.sles11.x86_64.rpmMySQL-server-5.5.20-1.sl
Install mysql in suse. download: mysql address: http://dev.mysql.com/downloads/mysql/ select the type you want to download, this package has two servers we want to use, clinet 2. unzip: There are a lot of files, the following uses the two MySQL-client-5.5.20-1.sles11.x86_64.rpm MySQL-server-5.5.20-1.sl
Install mysql in suse
1. Download:
Mysql address: http://dev.mysql.com/downloads/mysql/ select the type you want to download, this package has the two servers we want to use, clinet
2. decompress:
There are many files, and the two files are used below
MySQL-client-5.5.20-1.sles11.x86_64.rpm
MySQL-server-5.5.20-1.sles11.x86_64.rpm
3. Install the server:
Rpm-ivh MySQL-server-5.5.20-1.sles11.x86_64.rpm
4. Install the client
Rpm-ivh MySQL-client-5.5.20-1.sles11.x86_64.rpm
5. Start the service
/Etc/init. d/mysql start
I reported this error during the installation process, and then I checked the document to solve it.
Access denied for user 'root'@'localhost' (using password: NO)
Access denied for user 'root'@'localhost' (using password: YES)
Solution reference: http://superuser.com/questions/603026/mysql-how-to-fix-access-denied-for-user-rootlocalhost
The premise is that you need to kill all mysql processes and then execute those commands.