Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old February 12th, 2004, 02:48 PM
seetz10 seetz10 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 28 seetz10 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Access Denied problem...

I am trying to create a new database. At the moment I am using test.
When I installed mysql I did enter a user name and password.

This is the error message that i get:

mysql> create database rbs;
ERROR 1044: Access denied for user: '@127.0.0.1' to database 'rbs'

I am able to connect to the database without using a username and
password. So something with my access must be wrong.
But i dont know what it is...

please can someone help fix this problem.

I am using mysql version 4.0.4

Reply With Quote
  #2  
Old February 12th, 2004, 03:01 PM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: Access Denied problem...

Your user account might not have privileges to create a database. It might be restricted to the root account. There is a way to fix this by giving that username more than default privileges.

Reply With Quote
  #3  
Old February 13th, 2004, 02:58 PM
seetz10 seetz10 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 28 seetz10 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Access Denied problem...

Thanks,

How would I give a username more pivilages?

Reply With Quote
  #4  
Old February 13th, 2004, 03:13 PM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: Access Denied problem...

It is easier within a utility like phpmyadmin, simple and graphical, but you could issue a GRANT statement for the user

GRANT * ON *.* TO yourusername;

I THINK thats it, you might want to read up on that in the mysql documentation

Reply With Quote
  #5  
Old February 16th, 2004, 10:40 AM
seetz10 seetz10 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 28 seetz10 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Access Denied problem...

Thanks I'll give that a try

Reply With Quote
  #6  
Old February 16th, 2004, 02:53 PM
seetz10 seetz10 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 28 seetz10 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Access Denied problem...

I tried this but it didnt work. I got an error saying that there was error in the command.

Any ideas of what else I can do?

Reply With Quote
  #7  
Old February 16th, 2004, 03:04 PM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: RE: Access Denied problem...


Quote:
I tried this but it didnt work. I got an error saying that there was error in the command.

Any ideas of what else I can do?


Yes, use the correct syntax for the statement. Consult the mysql handbook.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > Access Denied problem...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT