linux mysql
一、设置mysql远程访问
grantallon*.*toroot@'%'identifiedby'密码';
flushprivileges;
二、设计mysql开机启动
chkconfigmysqldon
三、查看开机启动项
chkconfig--list
字符集修改
[mysqld]
default-character-set=utf8
[client]
default-character-set=utf8
[mysql]
default-character-set=utf8
增加普通用户后,不能登录,提示ERROR1045(28000):Accessdeniedforuser'kbm'@'localhost'(usingpassword:YES),执行:
mysql>usemysql
mysql>deletefromuserwhereuser='';
mysql>flushprivileges;
意思是删除匿名用户。
相关推荐
CoderToy 2020-11-16
emmm00 2020-11-17
王艺强 2020-11-17
ribavnu 2020-11-16
bianruifeng 2020-11-16
wangshuangbao 2020-11-13
苏康申 2020-11-13
vivenwan 2020-11-13
moyekongling 2020-11-13
云中舞步 2020-11-12
要啥自行车一把梭 2020-11-12
aydh 2020-11-12
kuwoyinlehe 2020-11-12
minerk 2020-11-12
vitasfly 2020-11-12
jazywoo在路上 2020-11-11
敏敏张 2020-11-11
世樹 2020-11-11