• callwriter

    (@callwriter)


    I suddenly started getting blank pages. After a few tries I finally decided to do a clean install in another directory with a fresh database. Once I did the config file I stared having the same problem with the new install.

    I traced the problem to the mysql_connect in wp-includes/wp-db.php

    I am getting the following error:
    PHP Warning: mysql_connect(): Access denied for user ‘c_wpadmin’@’localhost’ (using password: NO) in /home/c/public_html/wp/wp-includes/wp-db.php on line 52

    I do have the password defined in wp_config.php and I know my databases are working correctly as I can connect to them through both phpMyAdmin and Navicat.

    Why would WP not work and phpMyAdmin work?

    Robert

Viewing 2 replies - 1 through 2 (of 2 total)
  • Samuel B

    (@samboll)

    Ask your host if they have jacked with the mysql server. If not run a repair on the db.
    I’ve run into this twice before in helping someone. Both times the host had done something with the db.

    Thread Starter callwriter

    (@callwriter)

    The db is correct. I can access it through a shell, Navicat and phpMyAdmin. Also all other programs that access mySQL databases are working correctly – they are written in PERL though.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘mysql_connect not connecting’ is closed to new replies.