1 下载 https://www.mysql.com/downloads/ https://dev.mysql.com/downloads/ 2 linux [root@host]# rpm -i MySQL-5.0.9-0.i386.rpm [root@host]# rpm -i MySQL-client-5.0.9-0.i386.rpm [root@host]# rpm -i MySQL-devel-5.0.9-0.i386.rpm [root@host]# rpm -i MySQL-shared-5.0.9-0.i386.rpm [root@host]# rpm -i MySQL-bench-5.0.9-0.i386.rpm 3 windows mysql-5.7.18-winx64-debug-test.zip https://dev.mysql.com/downloads/file/?id=469275
4 Post-installation Steps: MySQL ships with a blank password for the root MySQL user. Set a root password as follows:
[root@host]# mysqladmin -u root password “new_password”; [root@host]# mysql -u root -p Enter password:*
Running MySQL at boot time: If you want to run MySQL server at boot time, then make sure you have following entry in /etc/rc.local file.
/etc/init.d/mysqld start
启动: 错误 ERROR 1045 (28000): Access denied for user ‘ODBC’@’localhostjavascript:void(0)’
使用:root root账户和密码登录 mysql -u root -p root