LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3196|回复: 3

请教phpmyadmin - 我怎么没有权限创建数据库

[复制链接]
发表于 2005-9-4 18:04:02 | 显示全部楼层 |阅读模式
我以root的身份刚安装了xampp(linux+mysql+apache)一开始我没有执行lampp security 命令来设置密码,在http://localhost主页的phpmyad ... 来我执行了ampp security来设置了一些密码。在phpmyadmin中 就没有权限创建数据库了。第一行现实的是Create new database:
No Privileges。下面是我修改密码的过程:
[root@lhcd-server linuxsoft]# /opt/lampp/lampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [yes] y
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Password protection active. Please use 'lampp' as user name!
XAMPP: MySQL is accessable via network.
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes] n
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? [yes] y
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL pma password.
XAMPP: Setting phpMyAdmin's pma password to the new one.
XAMPP: MySQL has no root passwort set!!!
XAMPP: Do you want to set a password? [yes] y
XAMPP: Write the password somewhere down to make sure you won't forget it!!!
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL root password.
XAMPP: Setting phpMyAdmin's root password to the new one.
XAMPP: The FTP password is still set to 'lampp'.
XAMPP: Do you want to change the password? [yes] y
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Reload ProFTPD...
XAMPP: Done.

可能是因为phpmyadmin的默认用户是pma,这个用户的权限不够,用什么命令可以增加pma这个用户的权限,使之具有与root同等的权限呢
 楼主| 发表于 2005-9-5 17:23:42 | 显示全部楼层
怎么没人回答阿,我是莱鸟,大家不要嫌麻烦阿,呵呵。谢谢了
回复 支持 反对

使用道具 举报

发表于 2005-9-5 20:32:03 | 显示全部楼层
估计是很多人没有用过XAMPP吧,我就没有,-_-
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-9-6 11:19:56 | 显示全部楼层
大家帮忙看看阿,谢谢了!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表