Re: Apache public_html question

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

 



Ingemar Nilsson wrote:
Don Russell <[email protected]> writes:

Now, I get as far as:
if (false === ($dbh = mysql_connect('localhost',$uid,$pwd))) {
    die("Can't connect to mySQL database: ".mysql_error());
}


and sure enough, results in:
Can't connect to mySQL database: Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (2)
Is your MySQL server running? As root, run

service mysqld status
hmmm, interesting:

[[email protected] ~]# service mysqld status
mysqld: unrecognized service
[[email protected] ~]# rpm -q mysql
mysql-5.0.27-1.fc6
[[email protected] ~]#

I checked if there was a mysqld package to install... nope...

Thanks..






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

  Powered by Linux