Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Senior Coder
    Join Date
    May 2006
    Posts
    1,744
    Thanks
    29
    Thanked 4 Times in 4 Posts

    my password for phpmyadmin ?

    Hi,

    For the last six months I have been making minor mods directly to my live site so its been a while since I have used the XAMP server on my pc.


    I just used phpmyadmin to create a new database and I have written a script to insert some new data.

    But when I run it I get this errpr:
    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in D:\Web\accounts\a_build.php on line 9
    Couldn't connect to server.

    Now I can not find the password - is it in the php.ini file or somewhere else ?
    phpmyadmin must have used my password to create the database.

    Can anyone help me find my password ?

    thanks
    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.

  2. #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    15,052
    Thanks
    165
    Thanked 2,249 Times in 2,236 Posts
    Are you able to access the phpmyadmin interface of the same?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  3. #3
    Senior Coder
    Join Date
    May 2006
    Posts
    1,744
    Thanks
    29
    Thanked 4 Times in 4 Posts
    Yes I can still use phpmyadmin.
    (I wasn't quite sure what you asked)

    In the script I put root as user but I don't know my password.

    I could probably insert with phpmyadmin but I need to find out my password for other scrits as well of course.
    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.

  4. #4
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,919
    Thanks
    3
    Thanked 461 Times in 451 Posts
    The reason he asked if phpmyadmin worked, is because phpmyadmin is just a php script and your password can be found by looking in the phpmyadmin configuration file.
    Finding out HOW to do something is called research, i.e. keep searching until you find the answer. After you attempt to do something and cannot solve a problem with it yourself, would be when you ask others for help.

  5. #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Check in the security folder in your xampp directory. Your mysql info should be there.

  6. #6
    Senior Coder
    Join Date
    May 2006
    Posts
    1,744
    Thanks
    29
    Thanked 4 Times in 4 Posts
    Yep,

    Thanks, I found my password in the config.inc.php file.
    And now my scripts work.

    If you want to attract and keep more clients, then offer great customer support.

    Support-Focus.com. automates the process and gives you a trust seal to place on your website.
    I recommend that you at least take the 30 day free trial.


 

Posting Permissions

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