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.
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
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 something
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]
->
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
C
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").n
IL PROTECTED]>
To: "'debian'" <[EMAIL PROTECTED]>; <[EMAIL 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.getCon
sage());
>System.out.println("SQLState: " + e.getSQLState());
> System.out.println("VendorError: " + e.getErrorCode());
> }
>
> }
> }
>
> Error-Msg:
>
> register the Driver: OK
> java.io.IOException: Connection timed out
out
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)
IL PROTECTED]>
To: "'debian'" <[EMAIL PROTECTED]>; <[EMAIL 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.getCon
[SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, February 06, 2002 1:59 PM
> > To: [EMAIL PROTECTED]
> > Subject: Cannot connect to MySQL server with a java application
> >
> > hello,
> >
> > i tried to connect my MySQL-Server with a short java application.
sage());
>System.out.println("SQLState: " + e.getSQLState());
> System.out.println("VendorError: " + e.getErrorCode());
> }
>
> }
> }
>
> Error-Msg:
>
> register the Driver: OK
> java.io.IOException: Connection timed out
out
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)
CTED]>
To: "Nguyen Trong Phuc" <[EMAIL PROTECTED]>; <[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
ECTED]]
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: Satu
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.
>
>
> Tha
ava:114)
at org.gjt.mm.mysql.Connection.(Connection.java:229)
at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at TextToDatabaseTable.main(TextToDataba
17 matches
Mail list logo