摘要: MySQL创建数据库与创建用户以及授权 1、create schema [数据库名称] default character set utf8 collate utf8_general_ci;--创建数据库 采用create schema和create database创建数据库的效果一样。 2、cr 阅读全文
posted @ 2019-04-17 12:16 三冬三夏 阅读(1119) 评论(0) 推荐(0)
摘要: 1.登录Mysql [root@xufeng Desktop]# mysql -u root -pEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 6 阅读全文
posted @ 2019-04-17 11:03 三冬三夏 阅读(228) 评论(0) 推荐(0)
摘要: 开启MySQL远程访问权限 允许远程连接 1、登陆mysql数据库 mysql -u root -p 查看user表 mysql> use mysql;Database changedmysql> select host,user,password from user;+ + + +| host | 阅读全文
posted @ 2019-04-17 11:00 三冬三夏 阅读(2180) 评论(0) 推荐(0)