SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    May 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    error with phpmyadmin

    hi all,

    bin tryin to write some php script using wampserver and following kevin yanks book,but wen i tried phpmyadmin this error keeps showing up

    Error
    MySQL said:

    #1045 - Access denied for user 'root'@'localhost' (using password: NO)

    phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server


    what am i doing wrong,i've tried all i could.
    someone pls help

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You have setup PHPMyAdmin to connect to the MySQL server at localhost using username root but not using any password. MySQL doesn't accept the connection. This means that the user root do infact have a password setup for it in MySQL.

    What you need to do is to configure PHPMyAdmin with the correct username och password combination.

  3. #3
    SitePoint Member
    Join Date
    May 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks joool
    but i've tried doing that and am still getting the same problem so,i guess its either am using wrong syntax or writing in wrong file(php.ini or phpmyadmin.config)which i've used both.
    can u pls put me through it step by step.

    thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •