Apache public_html question

Tony Nelson tonynelson at georgeanelson.com
Mon Mar 26 18:28:44 UTC 2007


At 9:38 AM -0700 3/26/07, Don Russell wrote:
>Ingemar Nilsson wrote:
>> Don Russell <fedora at drussell.dnsalias.com> 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:
>
>[root at boris ~]# service mysqld status
>mysqld: unrecognized service
>[root at boris ~]# rpm -q mysql
>mysql-5.0.27-1.fc6
>[root at boris ~]#
>
>I checked if there was a mysqld package to install... nope...

mysql-server
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-list mailing list