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
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
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
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
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
[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
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
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
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
[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.
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
[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
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!';
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
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
[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
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
[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
18 matches
Mail list logo