
25th August 2005, 17:10
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
MySQL is not running!!
hi all, during installation i got this error
Code:
ERROR: MySQL is not running! Please start your MySQL database and run the ISPConfig setup again.
i am running MySQL server...
Code:
# service mysqld status
mysqld (pid 31869) is running...
and here...
Code:
# mysqladmin ping
mysqld is alive
So, any suggestions??
Thanks for reading
|

25th August 2005, 18:06
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Do you see MySQL when you run ? MySQL has to run over TCP, not on local Unix sockets. To change that, edit /etc/my.cnf, comment out skip-networking and restart MySQL.
|

25th August 2005, 18:16
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i can't skip-networking in /etc/my.cnf. here is /etc/my.cnf
Code:
more /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with old and
# shorter password hash.
# Reference: http://dev.mysql.com/doc/mysql/en/Password_hashing.html
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
|

25th August 2005, 18:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Can you post the output of here?
Quote:
|
i can't skip-networking in /etc/my.cnf. here is /etc/my.cnf
|
Depending on your distribution there might be further configuration files under /etc/sysconfig or /etc/default.
|

25th August 2005, 18:36
|
|
Junior Member
|
|
Join Date: Aug 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks, i figured it out
|

22nd November 2005, 15:07
|
|
Junior Member
|
|
Join Date: Nov 2005
Location: Remscheid / NRW / Germany
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Since I upgraded ISPConfig from 2.1.0 to 2.1.1 today, I get an error by eMail that mysql is not running, every half an hour. But mysql IS running:
Code:
# netstat -tap
tcp 0 0 server.domain:mysql *:* LISTEN 2446/mysqld
I also don't have an "skip-networking" option in my my.cnf, but the new way of binding to localhost isn't active, too:
Code:
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 123.456.789.10
The my.cnf seems to be touched during the installation, but I cannot see any changes. I already rebootet the server. No results, I still get the mail.
It's a debian 3.1 distribution.
What can I do? 
--
Best regards...
Ace
|

22nd November 2005, 15:32
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by Avatar
Code:
# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 123.456.789.10
|
MySQL is bound to listen only on 123.456.789.10 whereas ISPConfig tries to connect to MySQL on 127.0.0.1 to see if it's still running. Either change the IP address to 127.0.0.1 in /etc/mysql/my.cnf, or comment out the bind-address line. In both cases, restart MySQL afterwards.
Quote:
|
Originally Posted by Avatar
The my.cnf seems to be touched during the installation, but I cannot see any changes. I already rebootet the server. No results, I still get the mail.
|
No, ISPConfig doesn't touch /etc/mysql/my.cnf. You can have a look at the ISPConfig sources.
|

22nd November 2005, 16:02
|
|
Junior Member
|
|
Join Date: Nov 2005
Location: Remscheid / NRW / Germany
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi!
Quote:
|
Originally Posted by falko
MySQL is bound to listen only on 123.456.789.10 whereas ISPConfig tries to connect to MySQL on 127.0.0.1 to see if it's still running. Either change the IP address to 127.0.0.1 in /etc/mysql/my.cnf, or comment out the bind-address line. In both cases, restart MySQL afterwards.
|
Thanx! Worked.
Quote:
|
No, ISPConfig doesn't touch /etc/mysql/my.cnf. You can have a look at the ISPConfig sources.
|
I believe you.  But maybe then he just didn't complain before. 
--
Best regards...
Ace
|

2nd January 2008, 04:00
|
|
Junior Member
|
|
Join Date: Jan 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
mysql not runing during install
I use fresh install Redhat 9.0
during install it says MySQL not running,
my> netstat -tap
tcp 0 0 *:mysql *:* LISTEN 2997/
my /etc/mycnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
BTW, i dont see php-mysql on my instalation, i cannot find in redhat9 disc,
is it the problem.
thanks in advance.
|

2nd January 2008, 22:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Is there a special reason why you're using such an old distribution? I suggest you try Fedora 8 or CentOS 5.1 instead.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 09:42.
|
Recent comments
2 days 40 min ago
2 days 9 hours ago
2 days 12 hours ago
2 days 13 hours ago
2 days 14 hours ago
2 days 16 hours ago
2 days 18 hours ago
2 days 19 hours ago
3 days 11 hours ago
3 days 12 hours ago