[EMAIL PROTECTED] wrote:
> I have some problems with MySQL 3.23.52 on RedHat Linux 8.0.
>
> I can connect to mysql when I am on the same machine but I can't connect to it from
> another machine. Here is the error I get:
>
>> mysqladmin -u cedric -h gdvi02 version
>
I have some problems with MySQL 3.23.52 on RedHat Linux 8.0.
I can connect to mysql when I am on the same machine but I can't connect to it from
another machine. Here is the error I get:
> mysqladmin -u cedric -h gdvi02 version
mysqladmin: connect to server at 'gdvi02' f
ne of them later when you connect with the client.
>
> mysql <-- no d (=daemon) is the textmode client that comes with the
> mysql package.
>
>
>> [1]Done ./bin/mysqld_safe
>> [Home:/usr/local/mysql] justMe# ./bin/mysql myDatabase
>> ERR
I forwarded your mail to the mysql list so that everyone who cares knows
what is going.
Bill Hernandez wrote:
The error log shows:
030810 14:52:48 mysqld started
030810 14:52:49 InnoDB: Started
030810 14:52:49 Fatal error: Can't open privilege tables: Table
'mysql.host' doesn't exist
030810 1
solution to me
Best Regards
Aidan Gill
Server Error in '/CSAssetRegister' Application.
MySQLDriverCS Exception: MySQLDriverCS Error: can't connect.
Description: An unhandled exception occurred during t
ate databases.
You'll select one of them later when you connect with the client.
mysql <-- no d (=daemon) is the textmode client that comes with the
mysql package.
[1]Done ./bin/mysqld_safe
[Home:/usr/local/mysql] justMe# ./bin/mysql myDatabase
ERROR 2002:
usr/local/mysql] justMe# ./bin/mysql myDatabase
ERROR 2002: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
[Home:/usr/local] justMe# cd /
[Home:/] justMe# /usr/local/mysql/bin/mysql myDatabase
ERROR 2002: Can't connect to local MySQL server through socket
one of them later when you connect with the client.
mysql <-- no d (=daemon) is the textmode client that comes with the
mysql package.
[1]Done ./bin/mysqld_safe
[Home:/usr/local/mysql] justMe# ./bin/mysql myDatabase
ERROR 2002: Can't connect to local
Hi All:
I am trying to run mysql in a Windows XP environment. I downloaded the
binary and installation went smoothly. What I am expecting is that if I
have winmysqladmin in my startup it should launch and I should be able to
connect using the mysql control centre as my client. So far no joy.
Hello all,
I was using Mysql-front to connect to a server running linux. I swapped
out my old desktop machine for a new one and now I can't connect. What
could I be missing on the new machine? They were both running windows 2000.
Brian
e.
> [Computer:/usr/local/mysql] mark% bg
> bg: No current job.
>
> Instructions state that I should now be able to connect to MySQL server,
> e.g. by running
>
> [Computer:/usr/local/mysql] mark% /usr/local/mysql/bin/mysql
> ERROR 2002: Can't connect to local MySQL server
databases from /usr/local/mysql/data
030707 12:31:53 mysqld ended
[Computer:/usr/local/mysql] mark% bg
bg: No current job.
Instructions state that I should now be able to connect to MySQL server,
e.g. by running
[Computer:/usr/local/mysql] mark% /usr/local/mysql/bin/mysql
ERROR 2002: Can't c
Sent: Monday, June 09, 2003 2:31 AM
To: 'Pratchaya Chatuphian'; '[EMAIL PROTECTED]'
Subject: RE: ERROR 2002: Can't connect to local MySQL server through socke t
'/var/lib/mysql/mysql.sock' (2)
Is your server daemon running?
-Original Message-
From: Pratc
Is your server daemon running?
-Original Message-
From: Pratchaya Chatuphian [mailto:[EMAIL PROTECTED]
Sent: Monday, June 09, 2003 2:25 AM
To: [EMAIL PROTECTED]
Subject: ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
ER
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
I use MDK 8.2 and MySQL 4.0.13
i found this error
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
Can anyone
t that
> the mySQL server could resolve the IP to the host name? Thanx!
>
> -Original Message-
> From: O'K Web Design [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 05, 2003 8:06 AM
> To: Francisco Castellon
> Subject: Re: ERROR 2003: Can't connect to MySQL ser
ave to add the IP address as an allowed host though, but I thought that
the mySQL server could resolve the IP to the host name? Thanx!
-Original Message-
From: O'K Web Design [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 8:06 AM
To: Francisco Castellon
Subject: Re: ERROR 2003
mySQL server using the [EMAIL PROTECTED]
account?
Also I was trying to access the mySQL server using the root@
HOST.MYDOMAIN.COM account by using the command below:
Shell> mysql -u root -h ZEUS.OLYMPUS.LOCAL -p
Enter Password: ***
And this is what I get: ERROR 2003: Can't connect
OTECTED]
account?
Also I was trying to access the mySQL server using the root@
HOST.MYDOMAIN.COM account by using the command below:
Shell> mysql -u root -h ZEUS.OLYMPUS.LOCAL -p
Enter Password: ***
And this is what I get: ERROR 2003: Can't connect to MySQL server on
'ZEUS.
] account?
Also I was trying to access the mySQL server using the root@ HOST.MYDOMAIN.COM account
by using the command below:
Shell> mysql –u root –h ZEUS.OLYMPUS.LOCAL –p
Enter Password: ***
And this is what I get: ERROR 2003: Can't connect to MySQL server on
'ZEUS.OLYMPUS.LOCA
OTECTED]
account?
Also I was trying to access the mySQL server using the root@
HOST.MYDOMAIN.COM account by using the command below:
Shell> mysql -u root -h ZEUS.OLYMPUS.LOCAL -p
Enter Password: ***
And this is what I get: ERROR 2003: Can't connect to MySQL server on
'ZEUS.
OK. I'm an idiot.
It suddenly hit me today that my code worked at home, but not at
school. Then I remembered that we have a proxy server at school.
I disabled the SOCKS proxy, and, sure enough, everything works now.
There are disadvantages to just changing a Home/School setting,
especially if y
d O'Bryan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 10:52 AM
To: Mark Matthews
Cc: [EMAIL PROTECTED]
Subject: Re: JDBC can't connect, but command line can...
>
> When you don't specify a hostname (and 'localhost' doesn't count, use
> '127.0.0
When you don't specify a hostname (and 'localhost' doesn't count, use
'127.0.0.1') to the mysql commandline client, it uses Unix domain
sockets to connect to the server.
JDBC has to use TCP/IP, because Java doesn't have support for Unix
domain sockets.
What happens if you do:
mysql -h 127.0.0.1 -u
>Description:
Any connection to mysqld over network socket results in segmentation fault and
mysqld restarting. The log records:
= begin log extract ==
bin/mysqld_safe: line 320: 12974 Segmentation fault
$NOHUP_NICENESS $ledir/$MYSQLD $defaults --based
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Todd O'Bryan wrote:
| I've managed to get mysql up and running again (I don't know how) but
| JDBC won't connect to it.
|
| Here's my little simple code:
|
| import java.sql.*;
| import java.io.*;
|
| pub
I've managed to get mysql up and running again (I don't know how) but
JDBC won't connect to it.
Here's my little simple code:
import java.sql.*;
import java.io.*;
public class MySQLTester {
public static void main(String[] args) th
: Re: Warning: mysql_select_db() [function.mysql-select-db]: Can't
connect to local MySQL
> It is probably looking for a socket file that doesn't exist. Check to see
if
> it does. Also check to see if DB server is running.
>
> Bhavin.
> - Original Message -
> From:
I get this error after upgrade my server aix 4.3.3.10 to 4.3.3.11:
Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to
local MySQL
server through socket '/var/lib/mysql/mysql.sock
Any one can tell me what could be the problem
What does, "rcmysql status" say?
--- Mark <[EMAIL PROTECTED]> wrote:
> Hi, I just installed 3.23.55 and I started getting
> this message when
> I run mysql from the shell.
>
> /tmp/mysql.sock exists and the permissions are right
> and mysqld is
> running, also the weird thing is that php is
> conn
Hi, I just installed 3.23.55 and I started getting this message when
I run mysql from the shell.
/tmp/mysql.sock exists and the permissions are right and mysqld is
running, also the weird thing is that php is connecting just fine.
any ideas?
thanks,
- Mark
-
I have a problem connection from a remote host
this is the error I get
ERROR 2013: Lost connection to MySQL server during query
I am using redhat 8.0 and mysql3.23.54
please help
thank you
--
Antoine <[EMAIL PROTECTED]>
-
It´s happen exactly the same with me. Do you have some suggestion to
solve this?
I'm on Linux Redhat 7.2 and MySQL v. 3.23.41
I can make connections from the server... including the use of other
hostnames for test purposes. All my PHP/MySQL sites are up and running.
I can access the databas
s sets a password for user 'root'.
> shell>mysqladmin -u root -h hostname password 'new-password'
> mysqladmin: connect to server at 'hostname' failed
> error: 'Can't connect to MySQL server on 'hostname' (110)'
> Check that mysqld is runn
PROTECTED]
http://www.GodsOfMusic.com
> ...
> shell>mysqladmin -u root password 'new-password'
> shell>mysqladmin -u root -h hostname password 'new-password'
> mysqladmin: connect to server at 'hostname' failed
> error: 'Can't connect to MySQL ser
S 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql
...
shell>mysqladmin -u root password 'new-password'
shell>mysqladmin -u root -h hostname password 'new-password'
mysqladmin: connect to server at 'hostname' failed
error: 'Can't conne
002 1:38 PM
> To: Daevid Vincent; [EMAIL PROTECTED]
> Subject: Re: Can't connect error 10061 - nothing but Mascon
> works remotely.
>
>
> Dear Daevid,
>
> > I don't have mySQL installed on the XP box, so I can't run
> mysqladmin.
>
> I knew your a
--- Original Message -
From: "Daevid Vincent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'Listen Hinz'" <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 9:09 PM
Subject: RE: Can't connect error 10061 - nothing but Mascon wo
> > [root@daevid]# mysqladmin ping -h daevid.com -uroot -p
> [root@daevid]#
> > mysqladmin ping -h 192.168.1.254 -uroot -p mysqld is alive
>
> But as I see, you tried the ping from the local host (i.e.
> you connected from the same machine where the MySQL server is
> running). What happens if
t (Berlin)'" <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 12:18 AM
Subject: RE: Can't connect error 10061 - nothing but Mascon works
remotely.
[root@daevid]# mysqladmin ping -h daevid.com -uroot -p
Enter password:
mysqld is alive
[root@daevid]# mysqladmin ping -h 19
Yes. I can not connect remotely using ANY Microsoft Windows
clients/tools EXCEPT "Mascon" -- which for some strange reason works
just fine. Yet EVERY OTHER WINDOWS mySQL PROGRAM fails with the same
error message (10061 Can't connect...)
I'm 98% positive my 'permissions&
Sorry for jumping in late, but are you saying that you can't connect from a
remote machine?
Did you add a Host '%' to your username in the users table?
At 07:36 PM 12/8/2002 -0800, Daevid Vincent wrote:
*I* am the admin. I don't have a command line utility on my WinXP b
08, 2002 7:05 PM
> To: Daevid Vincent
> Subject: Re: Can't connect error 10061 - nothing but Mascon
> works remotely.
>
>
> Greetings...
>
> Check out with your MySQL server administration. Are you able
> to connect through the MySQL command line utility.
>
> Sent: Sunday, December 08, 2002 1:53 PM
> To: Daevid Vincent; [EMAIL PROTECTED]
> Cc: 'Karam Chand'
> Subject: Re: Can't connect error 10061 - nothing but Mascon
> works remotely.
>
> > Can't connect to MySQL server on 'daevid.com'(10061)
>
Dear Daevid,
> Can't connect to MySQL server on 'daevid.com'(10061)
Try "mysqladmin ping -h mysql_host_name". This is the most basic thing I can
think of to connect to a MySQL server. It should report "mysqld is alive".
If even that doesn't wor
Error No. 2003
Can't connect to MySQL server on 'daevid.com'(10061)
This is the same error I get with all the other programs too...
No SSH or SSL.
I'm connecting from my WinXP box to my Linux server over my local LAN.
> -Original Message-
> From: Karam Chan
I'm having a strange problem connecting via remote to mySQL. This is an
internal LAN, so there should be no firewall issues. I'm running RedHat
8.0, but I've installed the latest mySQL rpms which I thought were
statically linked to avoid the earlier problem of this same nature. The
peculiar thing i
Sorry should have made clear that is what phpMyAdmin gives me in the
browser.
WinMySQLadmin seems to be fine.
-Original Message-
From: Martin Wright [mailto:[EMAIL PROTECTED]]
Sent: 26 November 2002 11:19
To: '[EMAIL PROTECTED]'
Subject: Newbie Help! Can't connect to
XP Pro SP1.
Now I've reinstalled every thing and get the error msg below.
Can't connect to MySQL server on 'localhost' (10061)
I've been to the MySQL site and searched but a) I don't entirely follow
some of the stuff and b) what I've tried doesn't se
Vince LaMonica wrote:
On Fri, 15 Nov 2002, Edwin Raj wrote:
} [root@edwinraj bin]# /usr/local/mysql/bin/mysqladmin -u root password
} 'simple'
} /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
} error: 'Can't connect to local MySQL
On Fri, 15 Nov 2002, Edwin Raj wrote:
} [root@edwinraj bin]# /usr/local/mysql/bin/mysqladmin -u root password
} 'simple'
} /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
} error: 'Can't connect to local MySQL server through socket
}
If this could help to analyse the problem, when I try to create a
password this is the message I get
[root@edwinraj bin]# /usr/local/mysql/bin/mysqladmin -u root password
'simple'
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can
Hello Friends,
I have installed mysql version 3.23.52 binary file. The installation
went well without any errors but when I type mysql in the command prompt
I get this error. Can someone help me fix this. Am using red hat 6.2 version
Rgds
Edwin
---
At 11:14 -0800 11/7/02, Steven Webb wrote:
On that page, it says:
"You can't connect to the embedded server from an
outside process with sockets or TCP/IP."
... not the other way around, which is what I'm trying
to do. I'm trying to connect to another (remote)
serve
On that page, it says:
"You can't connect to the embedded server from an
outside process with sockets or TCP/IP."
... not the other way around, which is what I'm trying
to do. I'm trying to connect to another (remote)
server from the same app as is using an embedde
>
Cc: "Mysql list" <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 8:09 PM
Subject: Re: using libmysqld - can't connect to remote DB as client.
> Did you get my code? I sent it to the list, but the
> list bounced it because the list didn't allow
> attachme
At 11:09 -0800 11/6/02, Steven Webb wrote:
I'm using libmysqld so I can have an "embedded" mysql
server in my application. It helps with performance
because there is not socket communication and all I/O
is done from the program directly to the files.
Anyway, I have the need to also connect to a r
cchar *user="", cchar *passwd="")
>
> I really know nothing about the c, c++ api's, just
> trying to help
>
> > -Original Message-
> > From: Steven Webb [mailto:scumola@;yahoo.com]
> > Sent: Tuesday, November 05, 2002 3:58 PM
>
not work then you must see in
> the source why.
> Why do you link against libmysqld when you nee
> libmysql functionality?
>
> Bernhard
>
> - Original Message -
> From: "Steven Webb" <[EMAIL PROTECTED]>
> To: "Mysql list" <[EMAIL PR
I have been running a server for almost 2 years
completely without incident. I have made no significant
changes recently, but for the past month or so I have
been having connection problems. Users cannot connect,
but existing connections seem to be maintained.
Here are some symptoms:
I can
asswd="")
I really know nothing about the c, c++ api's, just trying to help
> -Original Message-
> From: Steven Webb [mailto:scumola@;yahoo.com]
> Sent: Tuesday, November 05, 2002 3:58 PM
> To: Black, Kelly W [PCS]; Mysql list
> Subject: RE: using libmysqld -
quot;);
> > db_do_query(two, "SHOW DATABASES");
--- "Black, Kelly W [PCS]"
<[EMAIL PROTECTED]> wrote:
> So use the C syntx instead.
>
> :)
>
> -Original Message-
> From: Steven Webb [mailto:scumola@;yahoo.com]
> Sent: Tuesday, November
So use the C syntx instead.
:)
-Original Message-
From: Steven Webb [mailto:scumola@;yahoo.com]
Sent: Tuesday, November 05, 2002 12:21 PM
To: Black, Kelly W [PCS]; Mysql list
Subject: RE: using libmysqld - can't connect to remote DB as client.
Ok, but I'm writing this in C
nect("DBI:mysql:$dbname:hostname",
> $dbuser, $dbpasswd) ||
> die "can't connect: $DBI::errstr\n";
>
> Also make sure you include the || die "can't
> connect: $DBI::errstr\n";
> as in this way you can get some useful error output
> about t
I think your problem might be here ->
you have db_connect("my_blah_database");
Try using something like
my $dbh = DBI->connect("DBI:mysql:$dbname:hostname", $dbuser, $dbpasswd) ||
die "can't connect: $DBI::errstr\n";
Also make sure you include the || d
Still nobody has answered my question.
Has anyone here even tried linking with libmysqld.a
before?
- Steve
--- Steven Webb <[EMAIL PROTECTED]> wrote:
> Nobody answered my question, so I felt like I should
> ask again ...
>
> I'm using libmysqld to embed a mysql server in my C
> app. However, I
Nobody answered my question, so I felt like I should
ask again ...
I'm using libmysqld to embed a mysql server in my C
app. However, I'd also like to connect to other
remote mysql databases as well, but the
"mysql_real_connect" command doesn't seem to be
working when trying to connect to a remote
following reason: ERROR 2003: Can't connect to MySQL server on
'localhost' (10061)
After this, I deinstalled both MySQL programs and then installed MySQL
3.23.52 alone. Again, everytime I wanted to start mysql, I got the
message "ERROR 2003: Can't connect to MySQL server on
Hi.
I am new to this and can't get started because I receive the error message:
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061).
o/s : WindowsXP.
Any ideas?
Thanks,
Clive.
-
Before p
Clive Grigg wrote:
> Hi.
> I am new to this and can't get started because I receive the error message:
>
> ERROR 2003: Can't connect to MySQL server on 'localhost' (10061).
>
> o/s : WindowsXP.
>
> Any ideas?
>
> Thanks,
> Clive.
>
Hi,
Hello John,
Monday, October 14, 2002, 3:36:20 AM, you wrote:
JH> I'm on Linux Redhat 7.2 and MySQL v. 3.23.41
JH> Number of processes running now: 1
JH> mysqld process hanging, pid 8617 - killed
JH> 021013 20:08:43 mysqld restarted
JH> /usr/libexec/mysqld: ready for connections
[]
Download t
I'm on Linux Redhat 7.2 and MySQL v. 3.23.41
I can make connections from the server... including the use of other
hostnames for test purposes. All my PHP/MySQL sites are up and running.
I can access the database through phpMyAdmin.
I cannot connect from a client app such as Mascon. I notice that
Edwin,
Monday, October 07, 2002, 1:09:37 PM, you wrote:
>>>On Monday 07 October 2002 12:04, Edwin Raj wrote:
>>>
>>>>When I type mysql in the command prompt it is giving the error "ERROR
>>>>2002: Can't connect to local MySql server through soc
junhuazhu,
Monday, October 07, 2002, 4:54:35 AM, you wrote:
ja3dn> After I used the comment "mysqld",I used the "mysqladmin ping" comment,then the
following infomations appeard(c:\mysql):
ja3dn> mysqladmin: connect to server at 'localhost' failed
j
Ed Carp wrote:
>>On Monday 07 October 2002 12:04, Edwin Raj wrote:
>>
>>>When I type mysql in the command prompt it is giving the error "ERROR
>>>2002: Can't connect to local MySql server through socket
>>>'/var/lib/mysql/mysql.sock
> On Monday 07 October 2002 12:04, Edwin Raj wrote:
> > When I type mysql in the command prompt it is giving the error "ERROR
> > 2002: Can't connect to local MySql server through socket
> > '/var/lib/mysql/mysql.sock' (111)"
> > There i
On Monday 07 October 2002 12:04, Edwin Raj wrote:
> When I type mysql in the command prompt it is giving the error "ERROR
> 2002: Can't connect to local MySql server through socket
> '/var/lib/mysql/mysql.sock' (111)"
> There is no file mysql.sock at that
Hi Friends,
OS : Linux Redhat 6.2
Kernel version : 2.2.14-5.0
MySql version : 11.13 Distrib 3.23.36, for pc-linux-gnu (i686)
When I type mysql in the command prompt it is giving the error "ERROR
2002: Can't connect to local MySql server through socket
'/var/lib/mysql/mysql.soc
After I used the comment "mysqld",I used the "mysqladmin ping" comment,then the
following infomations appeard(c:\mysql):
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
connect remotely from winXP to win2K.
ll> C:\mysql\bin>mysql ¨Ch202.112.224.1 ¨Curoot ¨Cp
ll> (202.112.202.1 is IP of Win2K.)
ll> Mysql prompt:
ll> ERROR 2003: Can't connect to MySQL server on '202.112.224.1' (10060)
ll> Win2K and winXP all be connected to internet.
Is MyS
ion id is 9 to server version: 3.23.52-max-nt
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
Mysql>
But when I use following commands to connect remotely from winXP to win2K.
C:\mysql\bin>mysql ¨Ch202.112.224.1 ¨Curoot ¨Cp
(202.112.202.1 is IP of
ouble:
AK> 1. I can connect from a shell with the same username and password no
AK> problem.
AK> 2. I've quadruple-checked the spelling of the username and password, so it's
AK> not a typo.
AK> 3. I can connect to the database from a test script with the same username
AK>
checked the spelling of the username and password, so it's
not a typo.
3. I can connect to the database from a test script with the same username
and password.
The only reason I can think of that the installer program can't connect is
because it's a web script (installer.cgi), and some
mysql.sock file doesn't exist in the /var/lib/mysql directory. Stop and
restart mysql server.
Regards,
Bhavin.
- Original Message -
From: "samratsam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 10, 2002 4:28 AM
Subject: ERROR 2002: C
why do i get an erro like
"ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)"
what could be wrong with this error
please send me the reason for it and also
how do i overcome this problem
regards
samratsam
Get Your
first make sure there is a mysql.sock file in var/lib/mysql;
second make ps -ef | grep mysqld --if the output is xxx xxx xx grep mysqld
then the server is down for sure
third go to the binary of mysql and execute safe_mysqld & (means it forks
itself and is running in the background
four
sday, July 10, 2002 3:22 PM
To: [EMAIL PROTECTED]
Subject: can't connect
So, I had mysql up and running a week ago, but at some point the
system on which it was installed was rebooted. Now when I try to connect
I get a "Cannot connect through socket 'var/lib/mysql/mysql.so
running the script 'safe_mysqld &' should start the server.
- Original Message -
From: "Alex Jarvis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 10, 2002 3:21 PM
Subject: can't connect
> So, I had mysql up and running a
So, I had mysql up and running a week ago, but at some point the
system on which it was installed was rebooted. Now when I try to connect
I get a "Cannot connect through socket 'var/lib/mysql/mysql.sock'" error
message. I've read some of the archives and found similar problems. The
comm
--- Carlos Rubio <[EMAIL PROTECTED]> wrote:
> I am geting the error:
> Can't connect to local MySQL server through socket '/tmp/mysql.sock' on all
> pages requiring the use of mysql.
I got this error before too.
Here is how I fixed it:
(you probably have to do
Hi,
I am geting the error:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' on all pages
requiring the use of mysql.
I suspect that the file mysql.sock was deleted by mistake by one of our programers. I
have find in the manual how to protect the file
Try replacing that with this bit of code:
$db = mysql_pconnect("localhost", "testdb", "test123") or exit(mysql_error());
It should give you a more descriptive error message. Note I didn't put the "@", which
is used to suppress error messages in PHP.
Adam Hooper
[EMAIL PROTECTED]
On 31 May 102
Type this line of code before your line
$db = mysql_pconnect("localhost", "testdb", "test123") or
die(mysql_error());
The error u get will be pretty descriptive.
If not revert back to me.
nev L.
-Original Message-
From: Ricardo Fitzgerald [mailto:[EMAIL PROTECTED]]
@ $db = mysql_
Hi,
I'm developing a web application using mysqld as a localhost but
accessed from anywhere. My problem is simple, after entering form
data, and execute the php script, always returns an error I wrote in
case of unsuccesful connection to the db.
I did everything , create a user with many privile
Dear Hoa,
RE>>> I have the mysql server running. I can't connect to it though. It
reads,
> "Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock'.
-
Stop it, (either mysqld or mysql), then start again. On my
Hoa,
Thursday, May 23, 2002, 8:49:36 AM, you wrote:
HD> Okay so it says that I can't connect through socket
HD> '/var/lib/mysql/mysql.sock'. So I checked and the UNIX socket is located
HD> here: /tmp/mysql.sock. I'm relatively new to Linux. What does this mean
e socket if not being listen, you cannot connect to it
for errors, check the file [mysql installation dir]/var/[server name].err
borus
- Original Message -
±H¥óªÌ: "Hoa Doan" <[EMAIL PROTECTED]>
¦¬¥óªÌ: <[EMAIL PROTECTED]>
¶Ç°e¤é´Á: 2002¦~5¤ë23¤é PM 01:49
¥D¦®: can
Okay so it says that I can't connect through socket
'/var/lib/mysql/mysql.sock'. So I checked and the UNIX socket is located
here: /tmp/mysql.sock. I'm relatively new to Linux. What does this mean?
-Hoa
__
Hello,
I have the mysql server running. I can't connect to it though. It reads,
"Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock'.
-Hoa
_
MSN Photos is the easiest wa
when i try to run phpMyAdmin on an apache server on Windows 2000 I always
get the following message:
Can't connect to MySQL server on 'localhost' (10061)
could anyone please tell me how to configure MySQL to run via tcp/ip on
localhost?
than
201 - 300 of 460 matches
Mail list logo