service mysql start 

启动

service mysql restart

重启

service mysql stop

停止

 

mysql -uroot -ppassword 

登入mysql

 

show databases;

展示数据库db

create database xxx;

建db

show tables;

展示表

create table xxx()charset=utf8;

建表

select * from xxx; 查表

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-24
  • 2022-12-23
相关资源
相似解决方案