Re: mysql hangs on connection attempt

2006-07-18 Thread Gerald L. Clark
Steve Strong wrote: we are using php to connect to our mysql database and when we call the php function with this line: $dbh = mysql_connect("localhost", "george_full", "passwd") or die (formatSQLError("")); george_full has full priveleges on localhost with his password. localhost resolves to

Re: mysql hangs on connection attempt

2006-07-18 Thread Steve Strong
here is the entire function: function readonlyConnect() { $dbh=mysql_connect ("localhost", "george_readonly", "tiWhs!asAt!") or die (formatSQLError("")); mysql_select_db ("george_crwash2"); return $dbh; } a die() statment before the first line of code in this function ech

Re: mysql hangs on connection attempt

2006-07-18 Thread Daniel da Veiga
On 7/18/06, Steve Strong <[EMAIL PROTECTED]> wrote: we are using php to connect to our mysql database and when we call the php function with this line: $dbh = mysql_connect("localhost", "george_full", "passwd") or die (formatSQLError("")); That's the only line of your .php script? george_f

mysql hangs on connection attempt

2006-07-18 Thread Steve Strong
we are using php to connect to our mysql database and when we call the php function with this line: $dbh = mysql_connect("localhost", "george_full", "passwd") or die (formatSQLError("")); george_full has full priveleges on localhost with his password. localhost resolves to 127.0.0.1 using the ho

Re: MySQL hangs each relative poor time

2005-12-15 Thread Johan
> > Roberto Rodriguez Garrido wrote: > > > MySQL hangs every 30 minutes, it start to make a big process and when I > make a > > > show variables I get that values: I don't use Linux myself but I read a post on the Postgres list a while back about the Linux Ou

Re: MySQL hangs each relative poor time

2005-12-12 Thread Gleb Paharenko
Hello. What system load do 'top' and 'free' show? Use 'SHOW PROCESSLIST' to determine what queries are running on the server if you're able to connect to it. Check that mysqld isn't swapping. Roberto Rodriguez Garrido wrote: > MySQL han

Re: MySQL hangs each relative poor time

2005-12-12 Thread Danny Stolle
do wrote: MySQL hangs every 30 minutes, it start to make a big process and when I make a show variables I get that values: +-+-+ | Variable_name

MySQL hangs each relative poor time

2005-12-12 Thread Roberto Rodriguez Garrido
MySQL hangs every 30 minutes, it start to make a big process and when I make a show variables I get that values: +-+-+ | Variable_name | Value

Re: /etc/init.d/mysql hangs

2005-12-04 Thread Timothy Wu
On 12/3/05, Gleb Paharenko <[EMAIL PROTECTED]> wrote: > > Hello. > > > > Check if you're able to start server manually using mysqld > > or mysqld_safe commands. Research error logs. See: > > http://dev.mysql.com/doc/refman/5.0/en/starting-server.html > > > > > Thanks. Running mysqld directly show

Re: /etc/init.d/mysql hangs

2005-12-03 Thread Gleb Paharenko
Hello. Check if you're able to start server manually using mysqld or mysqld_safe commands. Research error logs. See: http://dev.mysql.com/doc/refman/5.0/en/starting-server.html Timothy Wu <[EMAIL PROTECTED]> wrote: >Hi, > >I'm on Debian system. I tried to modify /etc/mysql/debian-log

/etc/init.d/mysql hangs

2005-12-03 Thread Timothy Wu
Hi, I'm on Debian system. I tried to modify /etc/mysql/debian-log-rotate to set KEEP-BINARY-LOGS from 0 to 5. After doing so I attempted to let the change register by stopping and restarting the server by running /etc/init.d/mysql stop. However this command hanged. I rebooted the system and but t

Re: MySQL Hangs

2005-10-11 Thread walt
Velu Shk wrote: Related: http://lists.mysql.com/mysql/44164 No solutions mentioned here. Slack 10.1 is booting and once the newly installed MySQL Standard 4.1.14 starts up with: "Starting mysqld daemon with databases from /usr/local/mysql/data" The system hangs and is dead to the world. I wi

Re: MySQL Hangs

2005-10-11 Thread Velu Shk
Related: http://lists.mysql.com/mysql/44164 No solutions mentioned here. Slack 10.1 is booting and once the newly installed MySQL Standard 4.1.14 starts up with: "Starting mysqld daemon with databases from /usr/local/mysql/data" The system hangs and is dead to the world. I will need some time

Re: MySQL hangs

2005-03-04 Thread Gleb Paharenko
Hello. In your file you have lots of threads in Closing_tables state and only seven queries which make updates. Means that the thread is flushing the changed table data to disk and closing the used tables. This should be a fast operation. If not, then you should verify that you don't have

Re: MySQL hangs

2005-03-04 Thread Philippe Poelvoorde
Marcin Lewandowski wrote: Hi, I've got webserver with php and mysql-4.0.22 There I've got large phpbb2. That's it. phpbb2 is known to consume ressources, if I were you i wouldn't search further... not a mysql issue afaik -- Philippe Poelvoorde COS Trading Ltd. -- MySQL General Mailing List For l

MySQL hangs

2005-03-03 Thread Marcin Lewandowski
Hi, I've got webserver with php and mysql-4.0.22 There I've got large phpbb2. Sometimes, server's system load rapidly grows, and mysql are locked. Normally, there are 7-10 mysql processes, at this strange situation, there are 30-40. I don't know what can make such big system load in time of 1 mi

MySQL Hangs

2005-03-01 Thread Marcin Lewandowski
Hi, I've got webserver with php and mysql-4.0.22 There I've got large phpbb2. Sometimes, server's system load rapidly grows, and mysql are locked. Normally, there are 7-10 mysql processes, at this strange situation, there are 30-40. I don't know what can make such big system load in time of 1 mi

Re: MySql Hangs

2004-11-30 Thread gerald_clark
Ajay Kalambur wrote: Hi We have been having problems with a MySql database that runs on Linux.It just occurred suddenly and was working fine before Details: MySql Version:# mysql Ver 14.7 Distrib 4.1.6-gamma The filesystems which are accessed by MySql just hang.We cannot access any of the tables.

Re: MySql Hangs

2004-11-30 Thread Victor Pendleton
Are you data files on a local filesystem? When this issue occurs can you access any regular files on the drive? Ajay Kalambur wrote: Hi We have been having problems with a MySql database that runs on Linux.It just occurred suddenly and was working fine before Details: MySql Version:# mysql Ver 1

Re: MySql Hangs

2004-11-30 Thread Ronan Lucio
Ajay, Could you send the error messages (.err file in the mysql dir) and your my.cnf file? Ronan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

MySql Hangs

2004-11-30 Thread Ajay Kalambur
Hi We have been having problems with a MySql database that runs on Linux.It just occurred suddenly and was working fine before Details: MySql Version:# mysql Ver 14.7 Distrib 4.1.6-gamma The filesystems which are accessed by MySql just hang.We cannot access any of the tables.All clients just hang.

Re: MySQL hangs after some days

2004-03-24 Thread Sasha Pachev
[EMAIL PROTECTED] wrote: Hello, since I moved to another dedicated server 1-2 months ago I'm experiencing big problems with mysql. Normally the server works fine for a website under heavy load but after a week or so it hangs in a locked table forever and thus preventig other processes to access it

MySQL hangs after some days

2004-03-24 Thread udo . mysql
Hello, since I moved to another dedicated server 1-2 months ago I'm experiencing big problems with mysql. Normally the server works fine for a website under heavy load but after a week or so it hangs in a locked table forever and thus preventig other processes to access it. Then I have to shut do

Re: Mysql hangs on multi table update on innodb table.

2003-03-11 Thread Sinisa Milivojevic
Scott Wong writes: > > Version: Mysql 4.0.10-gamma > > Description: Mysql hangs and possibly can not recover from a query on an innodb > table. > > How to Repeat : > > drop table if exists parent; > drop table if exists child; > > CREATE TABLE parent(

RE: Mysql hangs on multi table update on innodb table.

2003-03-05 Thread Sinisa Milivojevic
Scott Wong writes: > > Hi, I havent received any response on this so i'll send this again. > I did check again with 4.0.11-gamma and the problem is still there. > > > Regards, > Scott > Hi! This will require a major re-write in multi table update's and will not come up very soon. But should co

RE: Mysql hangs on multi table update on innodb table.

2003-03-05 Thread Scott Wong
Hi, I havent received any response on this so i'll send this again. I did check again with 4.0.11-gamma and the problem is still there. Regards, Scott > Version: Mysql 4.0.10-gamma > > Description: Mysql hangs and possibly can not recover from a query on an innodb > tab

Mysql hangs on multi table update on innodb table.

2003-02-21 Thread Scott Wong
Version: Mysql 4.0.10-gamma Description: Mysql hangs and possibly can not recover from a query on an innodb table. How to Repeat : drop table if exists parent; drop table if exists child; CREATE TABLE parent(id INT NOT NULL, PRIMARY KEY (id)) TYPE=INNODB; CREATE TABLE child(id INT

RE: MySQL hangs on remote connections

2002-11-27 Thread David Brodbeck
-Original Message- > From: David Brodbeck [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 27, 2002 9:09 AM > To: '[EMAIL PROTECTED]' > Subject: MySQL hangs on remote connections > > > I'm having a rather bizarre problem...at least, it seems >

MySQL hangs on remote connections

2002-11-27 Thread David Brodbeck
I'm having a rather bizarre problem...at least, it seems bizarre to me. We have a small MySQL database that was running great for about a month. Last night, I rebooted the system it runs on. Now I can connect locally, but remote connections fail. The server disconnects during the query and I get

re: mysql hangs, restarts on odbc connect

2002-11-07 Thread Sage
Thank you, Egor! It looks like Red Hat released an update to its glibc libraries yesterday which fix this, so if anybody else is having problems, they should be able to fix it by updating. :) Sage On Thu, 2002-11-07 at 17:46, Egor Egorov wrote: > Sage, > Wednesday, November 06, 2002, 3:31:21 PM,

re: mysql hangs, restarts on odbc connect

2002-11-07 Thread Egor Egorov
Sage, Wednesday, November 06, 2002, 3:31:21 PM, you wrote: S> I'm running MySQL 3.23.49 on Red Hat 7.3, with the latest kernel S> (2.4.18-17.7.x) installed. It is running in smp mode on a dual P3 1.0 S> gHz. S> MySQL works perfectly fine when connecting from the localhost. However, S> I have anot

mysql hangs, restarts on odbc connect

2002-11-06 Thread Sage
I'm running MySQL 3.23.49 on Red Hat 7.3, with the latest kernel (2.4.18-17.7.x) installed. It is running in smp mode on a dual P3 1.0 gHz. MySQL works perfectly fine when connecting from the localhost. However, I have another machine that needs to connect via ODBC. The ODBC client can connect, bu

Re: MySQL hangs unexpedtedly

2002-08-21 Thread lcalero
> Hardware? > Operating System and version? > MySql version? > Precompiled, you compiled? > Which compiler? Intel Dual 1Ghz, 1Gb RAM, RedHat Linux 6.2, kernel 2.4.16, MySQL 3.23.52 from rpms (happened the same with 3.23.46). As I said before, this only happens the last few days, we were runnin

Re: MySQL hangs unexpedtedly

2002-08-21 Thread Gerald Clark
Hardware? Operating System and version? MySql version? Precompiled, you compiled? Which compiler? [EMAIL PROTECTED] wrote: > Hi. These last days, after some months of running relatively smoothly, >I've been having some trouble with MySQL. Sometimes (yesterday 4 times) it >just goes astray an

MySQL hangs unexpedtedly

2002-08-21 Thread lcalero
Hi. These last days, after some months of running relatively smoothly, I've been having some trouble with MySQL. Sometimes (yesterday 4 times) it just goes astray and virtually hangs. Load goes up to +200%, all connections are occupied and it just doesn't do anything. The only way to stop it is

Mysql hangs on HP-UX 11.00 if queried through jdbc (bug ?)

2002-07-23 Thread Andrea Carpani
After a hard day of work I think I managed to isolate the problem which looks a lot like a bug: server: mysql-3.23.51 compiled with: CFLAGS="-fomit-frame-pointer -O3 -fPIC" ./configure --prefix=/opt/mysql --disable-shared --with-mysqld-user=mysql --with-debug os: HP-UX 11.00 I have a small j

Re: Mysql hangs on HP-UX 11.00 under medium load

2002-07-23 Thread Dicky Wahyu Purnomo
Pada 23 Jul 2002 15:40:17 +0200 Andrea Carpani <[EMAIL PROTECTED]> menulis : > error: 'Can't create a new thread (errno 11). If you are not out of > available memory, you can consult the manual for a possible OS-dependent > bug' well, if this the case try to run : mysqladmin -p processlist

Re: Mysql hangs on HP-UX 11.00 under medium load

2002-07-23 Thread Andrea Carpani
On Tue, 2002-07-23 at 12:28, Dicky Wahyu Purnomo wrote: > I think the proper word for your case is "mysql busy" not "hang". > you should check from your system (OS) side the cpu usage of mysql > where the query is running When the problem arises both cpu's (client and server) are 2% busy and th

Re: Mysql hangs on HP-UX 11.00 under medium load

2002-07-23 Thread Andrea Carpani
On Tue, 2002-07-23 at 15:27, Gerald Clark wrote: > 20 simultaneous cartesian products on large tables would be expected to make > any sql server busy, not to mention use a lot of temporary disk space. > Are you sure you are not running out of disk space? No, there's enough disk space and memory

Re: Mysql hangs on HP-UX 11.00 under medium load

2002-07-23 Thread Gerald Clark
tion. The script >runs on another machine. If I leave the script running it hangs mysql db >in , say, 20 minutes. If I launch simultaneously 20 such scripts 3 >minutes are enough. > >By "mysql hangs" I mean that there's no way to connect to get a >"processlist&qu

Re: Mysql hangs on HP-UX 11.00 under medium load

2002-07-23 Thread Dicky Wahyu Purnomo
gt; runs on another machine. If I leave the script running it hangs mysql db > in , say, 20 minutes. If I launch simultaneously 20 such scripts 3 > minutes are enough. > > By "mysql hangs" I mean that there's no way to connect to get a > "processlist" or a &q

Mysql hangs on HP-UX 11.00 under medium load

2002-07-23 Thread Andrea Carpani
connection. The script runs on another machine. If I leave the script running it hangs mysql db in , say, 20 minutes. If I launch simultaneously 20 such scripts 3 minutes are enough. By "mysql hangs" I mean that there's no way to connect to get a "processlist" or a "de

MySQL hangs on reqular SQL-query #2

2002-03-22 Thread Jacob Nordgren
Hi again, Little more information about the problem that I wrote about in my last email. As I said before, the database wont accept any query to that table. It just hangs. However I'm not sure of which query that is executed the first time the table hangs. I'm not sure if this matters. But i

MySQL hangs on reqular SQL-query

2002-03-22 Thread Jacob Nordgren
Hi all, I have a problem with a table in the database. I created it a while ago (a month maby) and then everything worked fine. Now however, every time I query the table the query hangs and I don't know why. I understand that it's difficult to tell me what the problem is based on that little i

MySQL hangs on reqular SQL-query

2002-03-12 Thread Jacob Nordgren
Hi, I have this table: CREATE TABLE FOR_SALE ( ISBN VARCHAR(10) NOT NULL, STOREID MEDIUMINT(8) UNSIGNED NOT NULL, MYDATE DATE NOT NULL, PRICE SMALLINT UNSIGNED NOT NULL, PRIMARY KEY (ISBN, STOREID, MYDATE) ); When I execute this query: SELECT count(*) FROM FOR_SALE nothing hap

Re: mysql hangs on ANALYZE, open

2001-12-25 Thread Sinisa Milivojevic
David Birnbaum writes: > >Description: > mysqld still seems to hang when nightly table checks are running. > Formerly, this seemed to be due to a race condition that was > hopefully fixed in 3.23.46. Server is up, but all queries are stuck > in "opening tables". mysqld

mysql hangs on ANALYZE, open

2001-12-25 Thread David Birnbaum
>Description: mysqld still seems to hang when nightly table checks are running. Formerly, this seemed to be due to a race condition that was hopefully fixed in 3.23.46. Server is up, but all queries are stuck in "opening tables". mysqld is taking 100% of one CP

mysql hangs on shutdown

2001-05-25 Thread tammy
Hi, I recently installed in MySql from binary distribution mysql- max-3.23.38-pc-linux-gnu-i686.tar.gz. The install worked fine, the database runs and performs fine but it refuses to shutdown short of a 'kill -9'. This is not so good:( I have tried 'mysqladmin shutdown' and killing the safe_my

REPOST: mysql hangs on shutdown

2001-05-25 Thread tammy
Hi, I recently installed in MySql from binary distribution mysql- max-3.23.38-pc-linux-gnu-i686.tar.gz. The install worked fine, the database runs and performs fine but it refuses to shutdown short of a 'kill -9'. This is not so good:( I have tried 'mysqladmin shutdown' and killing the safe_my

mysql hangs on shutdown

2001-05-24 Thread tammy
Hi, I recently installed in MySql from binary distribution mysql- max-3.23.38-pc-linux-gnu-i686.tar.gz. The install worked fine, the database runs and performs fine but it refuses to shutdown short of a 'kill -9'. This is not so good:( I have tried 'mysqladmin shutdown' and killing the safe_my

RE: mySQL Hangs with Status 'D'

2001-05-01 Thread Vibol Hou
Upgrade to 2.4.4. 2.4.3 had some rwsem issues. -- Vibol Hou KhmerConnection http://khmer.cc -Original Message- From: Hunter Hillegas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 2:20 PM To: mySQL List Subject: mySQL Hangs with Status 'D' I have been having repeate

mySQL Hangs with Status 'D'

2001-05-01 Thread Hunter Hillegas
I have been having repeated problems with mySQL 3.23.36 on Linux (Red Hat 6.0, 2.4.3 kernel). I think I've got traced the problem but I don't know how to fix it... At some point after being started one or more of the mySQL threads hang with the ps status of 'D' (my research suggests this can mea

Re: mysql hangs on client start (and mysql_install_db)

2001-02-14 Thread Gerald L. Clark
Check permissions. The var directory anad all subdirectories and files must be accessible by the user under which MySQL runs. The directory containing the mysql.lock file must be readable and searchable by everyone. Drew Degentesh wrote: > > >Description: > mysql hangs. Th

Re: !!! Mysql hangs after some days on FreeBSD 4.0I-Helll

2001-02-12 Thread Danny
-Hello - If you are running FreeBSD 4.0 why not install mysql using /usr/ports/database/mysql-server.3.xxx make install make clean On Tue, 13 Feb 2001, pdewaha wrote: > Hi, > I've mysql 3.23.32 running on FreeBSD 4.0. > It runs a site with heavy traffic and heavy > database

mysql hangs on client start (and mysql_install_db)

2001-02-12 Thread Drew Degentesh
>Description: mysql hangs. This is really frustrating. History: -had 3.23.27 running. Had to restart the machine. -on reboot, no clients would connect (command line , Perl or PHP) -tried to restart by rc.d/initd/mysql stop, that timed out -killed off processes with kill -9 -tried to rest

Re: !!! Mysql hangs after some days on FreeBSD 4.0I

2001-02-12 Thread Ken Menzel
February 12, 2001 11:21 AM Subject: !!! Mysql hangs after some days on FreeBSD 4.0I > Hi, > I've mysql 3.23.32 running on FreeBSD 4.0. > It runs a site with heavy traffic and heavy > database interaction. > > After starting mysql it hangs after some days. > > Mysql serv

!!! Mysql hangs after some days on FreeBSD 4.0I

2001-02-12 Thread pdewaha
Hi, I've mysql 3.23.32 running on FreeBSD 4.0. It runs a site with heavy traffic and heavy database interaction. After starting mysql it hangs after some days. Mysql server is still in the processlist, but it is not possible to connect to the sql