SitePoint Sponsor

User Tag List

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

    Post Footer error on home page of www.spacemodel.com

    Had a long and fruitless chat with Hostgator (normally very good) about why the following error is showing up in the footer:

    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'space'@'localhost' (using password: YES) in /home/space/public_html/wp-content/themes/synchro-theme/page.php on line 240
    Could not connect:

    I have not changed page.php recently. I did however work with tech support about 6 weeks ago on the mysql db ('space')

    I think it is due to a change in the password in the php_myadmin but don't want to make the problem worse. Should I change the password and ensure it's the same in both places to see if that gets rid of the error?

    Laurie

  2. #2
    SitePoint Enthusiast carlhenson's Avatar
    Join Date
    Feb 2012
    Location
    Dreamstate
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are two possibilities:

    1. Wrong user
    2. Wrong password

    Ensure that the user is correct. Keep in mind the use of apostrophes. Are you sure it is 'space'@'localhost' ? Or it is 'space@localhost' ? Or it was really just 'localhost' or 'space' .

    Otherwise, check the password.


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
  •