Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: deven_01 on July 27, 2006, 09:37:31 AM
-
Dear Friends
recently I installed mysql server
When I was given following command on mysql> prompt I got following error
mysql> create database my_db
ERROR 1006 (HY000): Can't create database 'my_db' (errno: 28)
pls try to solve it ASAP
Regards
Devendra
-
This is permission error. Kindly look the persmission structure of datadir.
-
It seems that the user doesn't have appropriate permissions
You should give permissions to that user first..
Login to mysql and give
#GRANT ALL PRIVILEGES ON *.* TO username@'localhost' {..where locahost is your machine name where mysql is running.., you can give also ipaddress in place of that }
Gaurav