RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:40 AM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location [snip] I wasn't worried about short code =0P I would have done this if I was: $Connection = mysql_conn

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
Don't know yet, I've managed to stop mysql from loading now! (See my previous mail) -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:40 AM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
No not a network IP ping. A mysqladmin ping: Mysqladmin --user=root ping -Original Message- From: Brad Pauly [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:53 AM To: Donald Tyler Cc: [EMAIL PROTECTED] Subject: Re: [PHP] mysql.sock file location Donald Tyler wrote

Re: [PHP] mysql.sock file location

2003-09-25 Thread Brad Pauly
Donald Tyler wrote: Yes, I ping it and it says its alive. I don't understand. What did you ping? How does that mean it is running? Getting a response from a ping does not mean MySQL is running. Did you try connecting with a MySQL client from the command line? Have you looked at the running proce

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
y structure and everything (including ibdata1) is set to root:mysql 755 I am going to headbut the screen in a minute! -Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:32 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location

RE: [PHP] mysql.sock file location

2003-09-25 Thread Jay Blanchard
[snip] I wasn't worried about short code =0P I would have done this if I was: $Connection = mysql_connect('localhost','**','**') or die(mysql_error()); =0P [/snip] Cool, but do you get errors? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
nt: Thursday, September 25, 2003 10:13 AM To: Brad Pauly; Donald Tyler Cc: [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location [snip] > Here's the test script I am using: (Presume that's what you meant by > "connection string&qu

RE: [PHP] mysql.sock file location

2003-09-25 Thread Didier McGillis
d-d-a is the proper way to say it but I pretty much go by everything including 'Hey you!' From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Didier McGillis" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> CC: <[EMAIL PROTECTE

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
Yes, I ping it and it says its alive. -Original Message- From: Brad Pauly [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:07 AM To: Donald Tyler Cc: [EMAIL PROTECTED] Subject: Re: [PHP] mysql.sock file location Donald Tyler wrote: > Yeah I thought so to. But I di

RE: [PHP] mysql.sock file location

2003-09-25 Thread Jay Blanchard
[snip] yes like the user and the password ** and ** arent working for me. ;) [/snip] Not to head way off topic, well, OTOH, yes I am... Didier, is that pronounced did-i-A or did-i-er, or am I way off base. I knew someone with the first iteration. -- PHP General Mailing List (http://www.

RE: [PHP] mysql.sock file location

2003-09-25 Thread Didier McGillis
yes like the user and the password ** and ** arent working for me. ;) From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Brad Pauly" <[EMAIL PROTECTED]>, "Donald Tyler" <[EMAIL PROTECTED]> CC: <[EMAIL PROTECTED]> Subject: RE: [PHP] my

RE: [PHP] mysql.sock file location

2003-09-25 Thread Jay Blanchard
[snip] > Here's the test script I am using: (Presume that's what you meant by > "connection string"? > > > if($Connection = mysql_connect('localhost', '**', '**')) > print 'Success!'; > else > print 'Failure'; > > ?> [/snip] Let's get a hair more

Re: [PHP] mysql.sock file location

2003-09-25 Thread Brad Pauly
Donald Tyler wrote: Yeah I thought so to. But I did a chmod 755 on the sock file and it didn't help. Here's the test script I am using: (Presume that's what you meant by "connection string"? if($Connection = mysql_connect('localhost', '**', '**')) print 'Success!';

RE: [PHP] mysql.sock file location

2003-09-25 Thread Didier McGillis
ohohohohohoo or you can delete that and restart mysql and it will recreate. i have seen that before and that worked. From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Donald Tyler" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> Subject: RE: [PHP] mysql.sock file lo

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
ember 25, 2003 9:44 AM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location [snip] Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /usr/local/apache2/htdocs/dbtest.php on line 3 [/snip] Can we

RE: [PHP] mysql.sock file location

2003-09-25 Thread Jay Blanchard
[snip] Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /usr/local/apache2/htdocs/dbtest.php on line 3 [/snip] Can we see your connection string? My bet would be permissions... -- PHP General Mailing List (http://www.php.net/) To uns

RE: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
ysql/mysql.sock -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 9:06 AM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] mysql.sock file location [snip] I meant "mysql.sock", sorry. Does anyone know how to tell PHP to look in a d

RE: [PHP] mysql.sock file location

2003-09-25 Thread Jay Blanchard
[snip] I meant "mysql.sock", sorry. Does anyone know how to tell PHP to look in a different location for the mysql.lock file? It's currently looking in /tmp/ and that's wrong. [/snip] But MySQL is running? PHP AFAIK doesn't care where mysql.sock is, unless it is not the default. locate mysql.soc

FW: [PHP] mysql.sock file location

2003-09-25 Thread Donald Tyler
I meant "mysql.sock", sorry. -Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 8:18 AM To: [EMAIL PROTECTED] Subject: [PHP] mysql.lock file location Hi, Does anyone know how to tell PHP to look in a different location for the mysql.loc

[PHP] mysql.sock location

2002-04-15 Thread Ashley M. Kirchner
Last night I compiled and installed PHP4.1.2 with MySQL support (compiled in Apache 1.3.24). During the configure routine, it indicated that MySQL's socket was found as /tmp/mysql.sock - which is correct. However, upon looking at phpinfo() after everything was installed, PHP indicated that

Re: [PHP] mysql.sock

2001-02-26 Thread Phillip Bow
The problem I had with this in the past is that I didn't have permission to write to the dir mysql.sock was supposed to be in so when Mysql tried to start it would fail. -- phill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] mysql.sock

2001-02-23 Thread Richard Lynch
>can someone please send me mysql.sock >( unix redhat 6.2 ) > >i had a crash - reinstalled the rpm 3.22.32 but this file is missing Unless I'm grossly mistaken, that file should only exist while MySQL is actually running, and should contain the socket number that MySQL happens to be using at t

[PHP] mysql.sock

2001-02-23 Thread andreas \(@work\)
hi list, can someone please send me mysql.sock ( unix redhat 6.2 ) i had a crash - reinstalled the rpm 3.22.32 but this file is missing thank you