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 > mySQL and Mac

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-07-03, 11:03
macnovice macnovice is offline
Registered User
 
Join Date: Oct 2003
Posts: 1
mySQL and Mac

I am using a Mac with OS X and have installed mySQL. However I have some type of security issue which blocks me. I have read the various forums and advice given there fails.

Two extracts of my issue:

1./
sql> create database A;
error 1044 : access denied for user : '@localhost' to database 'A'

2./
the unix command ls -l on the mysql directory gives "drwx-------- root data" for the data directory.

I think this is the issue. Maybe not.

I am no unix specialist and innocently thought that mac would fend-off me having to return to my university books to start a database system!

Can someone help?
Reply With Quote
  #2 (permalink)  
Old 10-08-03, 06:29
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
the problem is that you are logged with an anonymous user that got no privilege to create a database.
You should use root or other user with create db privilege
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
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