WordPress.org

Ready to get started?Download WordPress

Forums

Another WordPress missing MySQL question (14 posts)

  1. Pghjezebel
    Member
    Posted 8 years ago #

    I'm trying to setup WP to build a corporate blog for our office. The server that WP is running on doesn’t have MySQL installed on it due to security reasons. The MySQL DB that I need to connect to is on another server. I filled out all the DB information in the wp-config.php file and I still receive the "Your PHP installation appears to be missing the MySQL which is required for WordPress." error. I Googled the error a few times and searched here and still haven’t been able to correct this problem. Can anyone lend some insight? Thanks!

  2. moshu
    Member
    Posted 8 years ago #

    Dumb question, but does your config file point to the other server's location?

  3. Pghjezebel
    Member
    Posted 8 years ago #

    Yep....and I've tried all combo's of that remote servers address.....even ones that didnt make sense, just to rule them out!

  4. moshu
    Member
    Posted 8 years ago #

    I remember users on godaddy have to use something like this:
    define('DB_HOST', 'mysql5.secureserver.net');
    but probably you have already tried something similar...

  5. Pghjezebel
    Member
    Posted 8 years ago #

    Yeah, I saw that, and asked the guys in IT...but it seems like they really just refer to that server by an ip.....

  6. gregcaulder
    Member
    Posted 8 years ago #

    Ok i am getting sick and tired of my problems. I cant figure out how to post in this forum. jsut register, but taht is the least of my problems. OK i get the error with it not being able to connect ot the mySQL database. I got it to wokr a while ago then woke up this morning and now it is broken. I have re check and tripple checked all of the settings and nothjing changes. I didnt change anyhting on my server. What is the dielo. Is it just getting bounced back from the MySQL server rejecting it or something. it needs to give us and exact answer why it cant connect to the database.

    ANY HELP PLEASE

    Greg

  7. gregcaulder
    Member
    Posted 8 years ago #

    i decided to start with a brand new blog and i created a new database. and i downloaded version 1.5.1 and when i try to run the install i get this error.

    "Fatal error: Call to undefined function: get_bloginfo() in D:\HTTP\door2door\blog\wp-includes\wp-db.php on line 304"

    Greg

  8. moshu
    Member
    Posted 8 years ago #

  9. gregcaulder
    Member
    Posted 8 years ago #

    Now i get teh typical error connecting to the databse.

    "Error establishing a database connection"

    and tells me to go to the config file. AND everythng is freakign correct. And teh databse is online.

    Waht is the dielo. I have tripple checked all usernames database names and passwords.

    It seems like it doesent wat to conect ot the doam databe for anyhting.

    Greg

  10. moshu
    Member
    Posted 8 years ago #

    Maybe you are among the 1% where "localhost" needs to be changed to something else?

  11. Pghjezebel
    Member
    Posted 8 years ago #

    I still havent been able to correct my error. Our server that hosts the MySQL only goes by IP or internal names....neither of which have worked. Any more suggestions anyone???

  12. gregcaulder
    Member
    Posted 8 years ago #

    So no one is going to attempt to help me wit hmy problem??? well i have found some probles. I figured out that the php wasent connecting to MySQL. but i have fixed that and now im still getting the "Error establishing a database connection".

    Any HELP PLEASE with my php and mysql.

    Greg

  13. moshu
    Member
    Posted 8 years ago #

    Greg,
    you really should provide more info to get some help. Is it a local machine or a hosted environment? What os? Which version of PHP and MySQL?
    If you get the "usual" error message it means just that: one or more of the 4 pieces of info in the config file are not correct.

  14. gregcaulder
    Member
    Posted 8 years ago #

    Ok found the answer for my problem. Turns out is needed the libmysql.dll registered in teh windows library.

    PHP 5+

    MySQL is no longer enabled by default, so the php_mysql.dll DLL must be enabled inside of php.ini. Also, PHP needs access to the MySQL client library. A file named libmysql.dll is included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to be available to the Windows systems PATH. See the FAQ titled "How do I add my PHP directory to the PATH on Windows" for information on how to do this. Although copying libmysql.dll to the Windows system directory also works (because the system directory is by default in the systems PATH), it's not recommended.

    Im just posting it in case anyone needs the same help.

    Greg

Topic Closed

This topic has been closed to new replies.

About this Topic