Jump to content


Photo

HELP!!!!!!!!!!!!!!!!!!!!!!!!!


  • Please log in to reply
1 reply to this topic

#1 svang

svang
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 01 November 2003 - 03:48 AM

I am new to PHP and MySQL. I install php and everything went ok but when i install mysql, the installation went well but i ca not use it. I am currently running on a windows machine. When I try to create a database, this is the error I receive \"ERROR 1044: Access denied for user: \'@localhost\' to database \'portal\'\". I don\'t know what this means but I did create a hosts file in my WINNT folder. This did not solve the problem. I try using mysql -u (username) -p (password), this also gives me the same error message. Please help, all suggestions are welcome.

#2 shivabharat

shivabharat
  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 01 November 2003 - 05:21 AM

Its lookd like the user doenst have enough privelage try logung as

mysql -u root

and by default they dont have password unless you have set one.

Once you have got in as a super user.

mysql> use mysql
mysql> select * froom user;

You will see the table being displayed check if you have given teh user permission.

Now you can also use a tool called SQLYOG found at www.sqlyog.com
which is a GUI based tool and can help you a lot. Check it out...
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users