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 Error Very Urgent

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-15-04, 00:43
skm105 skm105 is offline
Registered User
 
Join Date: Feb 2004
Posts: 3
MySQL Error Very Urgent

had installed mySQL database in my Windows XP machine. When I tried to create a database I am getting the following error. I have my.ini file in my \windows directory. The userid and password are blank. I tried with default user id ODBC and local host my computer name but does not work. How to change the privileges and fix the problem ?

Can someone inform me ASAP ?


==============Error message ======================
C:\mysql\bin>mysqladmin create database store
mysqladmin: CREATE DATABASE failed; error: 'Access denied for user: ''@'localhost' to database 'database''
============================================

Krishna
Reply With Quote
  #2 (permalink)  
Old 02-15-04, 06:37
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
The default privilege doesn't allow that your should create a other user using grant statement
__________________
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