How To Install MySQL 5.5 On CentOS Using RPM And Yum
erics, Posted July 29th, 2011 at 1:09:54pm
1 2 3 4 |
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm yum --enablerepo=remi,remi-test install mysql mysql-server chkconfig --levels 235 mysqld on service mysqld start |
If you get this error: “Table ‘mysql.servers’ doesn’t exist”, do this:
1 2 3 4 5 6 7 8 9 10 11 12 |
CREATE TABLE `servers` ( `Server_name` char(64) NOT NULL, `Host` char(64) NOT NULL, `Db` char(64) NOT NULL, `Username` char(64) NOT NULL, `Password` char(64) NOT NULL, `Port` int(4) DEFAULT NULL, `Socket` char(64) DEFAULT NULL, `Wrapper` char(64) NOT NULL, `Owner` char(64) NOT NULL, PRIMARY KEY (`Server_name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='MySQL Foreign Servers table'; |
Leave Your Comment
All fields marked with "*" are required.