2016年12月29日

mariadb数据库忘记密码如何找回

摘要: 1.systemctl stop mariadb ==>停止mariadb数据库 2.mysqld_safe --skip-grant-tables & ==>进入单机模式 3.mysql -uroot =>进入mariadb 4.use mysql;==>进入mysql库 5.update use 阅读全文

posted @ 2016-12-29 19:33 惊涛随笔 阅读(1839) 评论(0) 推荐(0) 编辑

mysql常用命令

摘要: mysql数据库使用总结 本文主要记录一些mysql日常使用的命令,供以后查询。 1.更改root密码 mysqladmin -uroot password 'yourpassword' 2.远程登陆mysql服务器 mysql -uroot -p -hip -P3306 3.查询数据库 show 阅读全文

posted @ 2016-12-29 16:37 惊涛随笔 阅读(838) 评论(0) 推荐(0) 编辑

导航