[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  Linux Servers Support  |  Topic: MySql database error
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: MySql database error  (Read 773 times)
0 Members and 1 Guest are viewing this topic.
deven_01
Linux Learner
***
Offline Offline

Posts: 143


View Profile
« on: July 27, 2006, 05: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
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #1 on: July 27, 2006, 07:28:55 AM »

This is permission error. Kindly look the persmission structure of datadir.
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #2 on: July 30, 2006, 09:50:53 PM »

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
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Need a database, what do you suggest? Linux Application culley 3 1169 Last post February 15, 2004, 12:32:39 AM
by dragoncity99
A DATABASE BACKUP TOOL Linux Servers Support dragoncity99 4 810 Last post September 27, 2004, 11:56:04 PM
by dragoncity99
MySQL Administrator Error on RH8 Linux Application andregoncalves 5 1306 Last post January 08, 2005, 08:32:52 AM
by dragoncity99
mysql database mirroring with one ip address in two servers Linux Servers Support pakala 0 617 Last post May 06, 2005, 02:45:15 AM
by pakala
Qmail with Database Linux Servers Support vlinux1 6 709 Last post September 07, 2007, 10:13:31 AM
by vlinux1
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 10:48:30 PM

Login with username, password and session length
Navigation
Recent Discussions
[November 29, 2008, 02:23:49 PM]

[November 29, 2008, 02:14:14 PM]

[November 29, 2008, 04:00:36 AM]

[November 28, 2008, 07:05:28 AM]

[November 28, 2008, 07:04:39 AM]

[November 28, 2008, 06:58:16 AM]

[November 28, 2008, 06:47:09 AM]

[November 26, 2008, 11:53:32 AM]

[November 26, 2008, 04:00:22 AM]

[November 25, 2008, 06:44:47 PM]
Members
Total Members: 6252
Latest: rash31
Stats
Total Posts: 8285
Total Topics: 2257
Online Today: 34
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 7
Total: 7
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc