Veysel Harun Sahin [EMAIL PROTECTED] wrote:
I am using mysql 3.23.49 on openbsd3.2 with php4.2.3. Formerly I was
connecting to mysql with php without any problem but now (I don't know
what I have changed) when I try to connect to mysql with php it gives
the following errors:
Warning:
Problem solved. Thanks victoria.:)
[EMAIL PROTECTED] wrote:
Veysel Harun Sahin [EMAIL PROTECTED] wrote:
I am using mysql 3.23.49 on openbsd3.2 with php4.2.3. Formerly I was
connecting to mysql with php without any problem but now (I don't know
what I have changed) when I try to connect to
Hello,
I am using mysql 3.23.49 on openbsd3.2 with php4.2.3. Formerly I was
connecting to mysql with php without any problem but now (I don't know
what I have changed) when I try to connect to mysql with php it gives
the following errors:
Warning: Can't connect to local MySQL server through
PROTECTED]
Sent: Tuesday, December 31, 2002 1:59 AM
Subject: RE: Mysql.Sock problem
Is mysql running (ps -axu)
if not:
/path/to/safe_mysqld --user=mysql
This is explained in the docs
-Oorspronkelijk bericht-
Van: Jason Steig [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 31
: A.T.Z. [EMAIL PROTECTED]
To: Jason Steig [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, December 31, 2002 1:59 AM
Subject: RE: Mysql.Sock problem
Is mysql running (ps -axu)
if not:
/path/to/safe_mysqld --user=mysql
This is explained in the docs
-Oorspronkelijk bericht
I' am relatively new to MySQL and I 'am having a problem with starting
the ./mysql program I always get the mysql.sock error. I know this
mysql.sock file is used when the local machine is the mysql server.
Likewise I can't start mysql.server or mysqld. I' am trying to start it
as root. I know
Is mysql running (ps -axu)
if not:
/path/to/safe_mysqld --user=mysql
This is explained in the docs
-Oorspronkelijk bericht-
Van: Jason Steig [mailto:[EMAIL PROTECTED]]
Verzonden: dinsdag 31 december 2002 9:08
Aan: [EMAIL PROTECTED]
Onderwerp: Mysql.Sock problem
I' am relatively
adam,
Tuesday, June 04, 2002, 7:55:23 PM, you wrote:
the mysql.sock file is automatically created when mysqld is started.
please check your configuration (/etc/my.cnf) and your mysql daemon ... :D
a Thanks. However, something's still wrong.
a Restarted the daemon - /usr/sbin/safe_mysqld
Apologies for posting such a basic query, but I couldn't find an
archived version of the mailing list, or a fix to my problem. Using
Linux Mandrake 8.2.
It's the problem with mysql.sock, which I've tried to make the /tmp
directory sticky, following the command on the mysql site. However, it
Dicky Wahyu Purnomo wrote:
On Tue, 04 Jun 2002 08:04:01 +0100
adam [EMAIL PROTECTED] wrote:
Apologies for posting such a basic query, but I couldn't find an
archived version of the mailing list, or a fix to my problem. Using
Linux Mandrake 8.2.
It's the problem with mysql.sock, which
adam,
Tuesday, June 04, 2002, 12:05:30 PM, you wrote:
the mysql.sock file is automatically created when mysqld is started.
please check your configuration (/etc/my.cnf) and your mysql daemon ... :D
a Thanks. However, something's still wrong.
a Restarted the daemon -
Dicky Wahyu Purnomo wrote:
On Tue, 04 Jun 2002 08:04:01 +0100
adam [EMAIL PROTECTED] wrote:
Apologies for posting such a basic query, but I couldn't find an
archived version of the mailing list, or a fix to my problem. Using
Linux Mandrake 8.2.
It's the problem with mysql.sock, which
Egor Egorov wrote:
adam,
Tuesday, June 04, 2002, 12:05:30 PM, you wrote:
the mysql.sock file is automatically created when mysqld is started.
please check your configuration (/etc/my.cnf) and your mysql daemon ... :D
a Thanks. However, something's still wrong.
a Restarted the
OK got this sorted in the end, by putting a soft link in to the /tmp
folder pointing to the /var/lib - thanks one and all.
Adam
Dicky Wahyu Purnomo wrote:
On Tue, 04 Jun 2002 08:04:01 +0100
adam [EMAIL PROTECTED] wrote:
Apologies for posting such a basic query, but I couldn't find an
check for a .my.cnf file in the user's home directory. It may have
conflicting entries.
Brad Emerson wrote:
When I am logged in to my Linux system as root mysqladmin works
correctly. i.e. finds mysql.sock in the correct location.
When I am logged in as a normal user I get this error:
I should have mentioned that I did a 'find / -name my.cnf' and there is
only one such file--/etc/my.cnf
Perhaps I should try creating a local version of my.cnf, but I really
want to know why it's getting the wrong .sock file in the first place.
Brad
Gerald Clark wrote:
check for a .my.cnf
When I am logged in to my Linux system as root mysqladmin works
correctly. i.e. finds mysql.sock in the correct location.
When I am logged in as a normal user I get this error:
Can't connect to local MySQL server through socket
/var/lib/mysql/mysql.sock. blah blah... (This is *not* the
Laurie Savage wrote:
I am unable to connect to MySQL either as root or user unless I issue a
"mysqld --socket=/var/lib/mysql/mysql.sock - u root" command. This is good
for all users as long as the machine is booted.
I have checked Ksysv and mysql is enabled at startup.
I have
18 matches
Mail list logo