F7 and wordpress, Error establishing a database connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've just built an AMD X2 computer and installed F7 x86_64 on it.  Now
I'm trying to move my wordpress blog onto the new server but I got the
infamous "Error establishing a database connection" error.  I've
triple checked wp-config.php and I've delete the whole mysql databases
and restore the wordpress database a few times already.  No luck at
all.

I've used a simple .php file to check the mysql connection, which seemed ok.

<?php
if ($cn = mysql_connect("localhost", "wordpress", "password")) {
echo "connected";
} else {
echo "not connected - " . mysql_error();
}
?>

Any suggestions?

Thanks,

DS


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux