[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Help!! Raq4 and Mysql prob!!
- Subject: Re: [cobalt-users] Help!! Raq4 and Mysql prob!!
- From: "Robert Dayton" <rob@xxxxxxxxxxxxxx>
- Date: Sat Jan 20 03:28:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I had this problem but it was wierd bro. For some reason it wouldn't connect
right as safe_mysqld but would connect fine when I ran ./mysql start from
the /etc/rc.d/init.d directory. Also, had to use mysql_pconnect in the php
code instead of mysql_connect. You may want to put in the machine's ip
address for host also:
mysql_pconnect("10.0.0.2", $username, $password.....
Good luck and please let me know how it works out for you.
Rob
----- Original Message -----
From: "mikm" <mikm@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Friday, January 19, 2001 10:44 AM
Subject: [cobalt-users] Help!! Raq4 and Mysql prob!!
> I recently made a change to the 'include_path =' in php.ini file. When i
> rebooted our colocated (MagicMoments) Raq4 via web interface, Mysql server
> wouldn't connect. Our site is now down as we use database content on much
of
> the site.
> I tried to connect to the mysql daemon via telnet but kept getting the
> error" ERROR 2002: Can't connect to local MySQL server through socket
> '/var/lib/mysql/m
> ysql.sock' (111)"
> I checked the socket, it was present, but the mysql server was down. (I
> think)
> I tried all the methods described in mysql docs but no avail, still the
same
> message!!!
> I then tried to install the pkg again but was informed "Software already
> installed"!!
> So what do I do now???
> I am new to both linux and Mysql.
> By the way, I changed the php.ini file back to its original content before
> all of the above....No good!!! Can someone please help???
>
> Mikm
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>