Database Server on CentOS 6.3
- # yum install mysql-server
- # service mysqld start
- # chkconfig mysqld on
Create password for root
- # mysqladmin -u root password mypassword
Config Database
- # mysql -u root -p
- mysql> drop database test;
- mysql> delete from mysql.user where user = '';
- mysql> flush privileges;
- # service mysqld start
- # chkconfig mysqld on
Create password for root
- # mysqladmin -u root password mypassword
Config Database
- # mysql -u root -p
- mysql> drop database test;
- mysql> delete from mysql.user where user = '';
- mysql> flush privileges;
Comments
Post a Comment