If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Can't create database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-16-05, 22:02
Lpin Lpin is offline
Registered User
 
Join Date: Feb 2005
Posts: 2
Can't create database

hi....
i have a problem using mysql on linux fedora.
i can't create database. when i try to create one, an error ocurred:
Can't create database 'databasename'

can anyone help me, pliz..

thx in advance
Reply With Quote
  #2 (permalink)  
Old 02-16-05, 23:36
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
on your own computer?
are you logged into mysql as root?
if a user other than root does that user have permissions to create a table?
Reply With Quote
  #3 (permalink)  
Old 02-17-05, 01:25
Lpin Lpin is offline
Registered User
 
Join Date: Feb 2005
Posts: 2
yup, the mysql is on my comp. and i logged into mysql as root.
no other user except root on mysql.
Reply With Quote
  #4 (permalink)  
Old 02-17-05, 13:32
msueper msueper is offline
Registered User
 
Join Date: Feb 2005
Location: Germany
Posts: 22
Is "databasename" a valid name for an os folder?
Since mysql stores databases as folders this is necessary.
You also need write permission on datadir.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On