Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter pbasehore

    (@pbasehore)

    Aha! Bloody SELinux on my WP Server was the culprit. Poorly-worded error messages from PHP/MySQL notwithstanding…

    Thread Starter pbasehore

    (@pbasehore)

    I just wrote a quickie php script to see if the issue is with WP or php, somehow.

    <?php
    
    $db=@mysql_connect('<IP Address>', '<username>', '<password>');
    if (!$db) echo "connection failed";
    else echo "connection succeeded";
    
    ?>

    Unfortunately, it always says connection failed — even if I put root permissions in there.

    Yet, as before, MySQL Workbench connects flawlessly. What am I missing?

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