954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

My Sql Connection Problem in WAMP SERVER2

Hi, I am novice in PHP & Mysql. I am facing a problem when I put a command in Mysql the
following error is showng. Please help me to solve this problem.

Mysql> create database xx;

ERROR 1044(42000):Access denied for user ' '@localhost' to database 'xx'

Thanks
Susanta

s_susanta
Newbie Poster
3 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

i guess you are using Anonymous user to connect

Login with any valid user who has create permissions
check if xx database already exists

if nothing works login with root user and see if the error still exists

if that too didn't work
post your Mysql version and connection string

varmadba
Junior Poster in Training
83 posts since Jun 2008
Reputation Points: 22
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You