mysql -u root -p //root用户 ,-p密码
find / -name “mysql” //根目录找 mysql
set password="root" //set pass
create database test; //创建数据库
show databases; //查看数据库
/usr/local/mysql/bin/mysql -uroot -proot //login
mysql -u root -p //root用户 ,-p密码
find / -name “mysql” //根目录找 mysql
set password="root" //set pass
create database test; //创建数据库
show databases; //查看数据库
/usr/local/mysql/bin/mysql -uroot -proot //login