I have installed mysql on Mac OS X. when I attempt to access it either
through a php page or through Terminal, I receive this message;
Can't connect to local MySQL server through socket '/tmp/mysql.sock'
I have just switched to a Mac and am unfamiliar with many aspects of
unix. I read
At 12:00 -0500 4/5/03, Peter Gumbrell wrote:
I have installed mysql on Mac OS X. when I attempt to access it
either through a php page or through Terminal, I receive this
message;
Can't connect to local MySQL server through socket '/tmp/mysql.sock'
mysqld isn't running.
You can check to see if
Try the following
cd /usr/local/mysql
./bin/mysqld_safe
and see if that starts up the server.
If it doesn't, check to make sure you don't have a proxy set in your
internet configurations.
Todd
On Saturday, April 5, 2003, at 12:00 PM, Peter Gumbrell wrote:
I have installed mysql on Mac OS X.
Hello,
I have an interesting problem. I installed mysql client and server from Redhat
7.3 RPM. Then I set up a username and password for a user monty (to use
example from the manual).
Then I grant priveleges for the user with:
mysql GRANT ALL PRIVILEGES ON *.* TO [EMAIL PROTECTED]
-
Dear MySql experts:
we have mysql and mm driver installed on a unix
server, but when I try to run Blob (in testsuite/), it
gives error message:
cannot connect to MySQL server on //localhost:3306
here is the code for connection:
try {
Class.forName(org.gjt.mm.mysql.Driver).newInstance
On Thu, Feb 14, 2002 at 03:41:32PM -0800, wally liau wrote:
Dear MySql experts:
we have mysql and mm driver installed on a unix
server, but when I try to run Blob (in testsuite/), it
gives error message:
cannot connect to MySQL server on //localhost:3306
Can you, at this point
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:56)
(some EXCeptions more)
SQLException: Cannot connect to MySQL server on 127.0.0.1:3306. Is there a
MySQL server running on the machine/port you are trying to connect to?
(java.io.IOException)
SQLState: 08S01
VendorError: 0
is there somebody
PROTECTED]
Sent: Wednesday, February 06, 2002 8:23 PM
Subject: RE: Cannot connect to MySQL server with a java application
Almost, but not exactly the same .
DriverManager.getConnection(dburl, dbuser, dbpasswd) -- note, 3 arguments
here
-Original Message-
From: debian
)
SQLException: Cannot connect to MySQL server on 127.0.0.1:3306. Is there a
MySQL server running on the machine/port you are trying to connect to?
(java.io.IOException)
SQLState: 08S01
VendorError: 0
is there somebody who can help me?
thnx bobby
PROTECTED]
Sent: Wednesday, February 06, 2002 8:23 PM
Subject: RE: Cannot connect to MySQL server with a java application
Almost, but not exactly the same .
DriverManager.getConnection(dburl, dbuser, dbpasswd) -- note, 3 arguments
here
-Original Message-
From: debian
)
SQLException: Cannot connect to MySQL server on 127.0.0.1:3306. Is there a
MySQL server running on the machine/port you are trying to connect to?
(java.io.IOException)
SQLState: 08S01
VendorError: 0
is there somebody who can help me?
thnx bobby
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:56)
(some EXCeptions more)
SQLException: Cannot connect to MySQL server on 127.0.0.1:3306. Is there a
MySQL server running on the machine/port you are trying to connect to?
(java.io.IOException)
SQLState: 08S01
VendorError: 0
is there somebody
]]
Sent: Saturday, November 17, 2001 9:39 PM
To: Prasad Valmeti; Nguyen Trong Phuc; [EMAIL PROTECTED]
Subject: RE: java.sql.SQLException: Cannot connect to MySQL server
onlocalhost:3306.
Hi,
-Original Message-
From: Prasad Valmeti [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 17
]; [EMAIL PROTECTED]
Sent: Saturday, 17 November, 2001 4:31 AM
Subject: java.sql.SQLException: Cannot connect to MySQL server on
localhost:3306.
Thanks for ur response.
I am sending code also. Earlier it was connected to data base.
I haven't used it sometime. Now i am trying but unable to connect
:146)
at TextToDatabaseTable.main(TextToDatabaseTable.java:23)
java.sql.SQLException: Cannot connect to MySQL server on localhost:3306. Is
ther
e a MySQL server running on the machine/port you are trying to connect to?
(java
.net.ConnectException)
at org.gjt.mm.mysql.Connection.init
Hi,
-Original Message-
From: Prasad Valmeti [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 17, 2001 4:31 AM
To: Nguyen Trong Phuc; [EMAIL PROTECTED]
Subject: java.sql.SQLException: Cannot connect to MySQL server on
localhost:3306.
Thanks for ur response.
I am sending
16 matches
Mail list logo