xmapp mysql创建用户问题:

来源:互联网 发布:python mysql的参数化 编辑:程序博客网 时间:2024/06/06 01:10

xmapp的mysql数据库中表如果出现文件损坏,可以替换
E:\xampp\mysql\中的data文件
xmapp的phpadmin登录的用户只和\phpMyAdmin\config.inc中的配置有关:

$cfg['Servers'][$i]['auth_type'] = 'config';$cfg['Servers'][$i]['user'] = 'root';$cfg['Servers'][$i]['password'] = '';

而设置远程用户连接mysql可以在xmapp的shell下面操作:
执行到 e:\xampp\mysql\bin

mysql -u root   //通过root用户登录use mysql MariaDB [mysql]> grant all privileges on zglasses_prod.* to 'wlf'@'%' identified  by 'wlf'with grant option;  MariaDB [mysql]> flush privileges;
0 0
原创粉丝点击