Facebook
Categories
- Apache (7)
- asp (3)
- business (2)
- Cpanel Server (37)
- Database (5)
- dedicated server (3)
- DNS (4)
- errors (1)
- Exim (2)
- ffmpeg (1)
- file sharing (10)
- firefox (1)
- flash (1)
- free stuff (1)
- FreeBSD Server (16)
- Funny (3)
- general (12)
- Git (5)
- hosted scripts (1)
- image hosting (3)
- Installation (4)
- large sites (9)
- Linux (55)
- CentOS (3)
- Debian Linux (1)
- Linux Desktop (1)
- ubuntu (10)
- Mail Server (3)
- Qmail Server (2)
- Monotize (3)
- myspace clone (1)
- mysql (6)
- OpenVZ (7)
- PHP (16)
- PHP Tutorial (1)
- symfony (2)
- zend framework (1)
- Plesk (1)
- Programming (3)
- perl (1)
- Ruby On Rails (1)
- search engine (2)
- security (2)
- Server (5)
- social networking (1)
- Uncategorized (198)
- unmetered servers (6)
- Video (13)
- Video Sharing (21)
- Video Sharing Scripts (6)
- Web (77)
- Web Hosting (2)
- Windows (44)
- iis (1)
- Windows Server Administration (2)
- YouTube (17)
- youtube clone (21)
- yui (2)
Category Archives: mysql
Host X is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’
I got following error in a PHP Application Warning: mysql_connect() [function.mysql-connect]: Host ‘server10.hosthat.com’ is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts’ in /home/hon/public_html/cp/admin/approve.php on line 6 Unable to connect to mysql server This is because MySQL server … Continue reading
Posted in mysql
Tagged Host blocked, max_connect_errors, mysql, mysqladmin flush-hosts
Leave a comment
Limit number of connections for MySQL user
To limit number of mysql connection per user, edit /etc/my.cnf vi /etc/my.cnf In [mysqld] section, set value for max_user_connections. [mysqld] max_user_connections=40 This will limit mysql connections at a time for any user to 40.
MySQL take too much time to start
On one of the Free phpBB hosting server, MySQL take about 18 minutes to start. That is if i restart MySQL for any reason (including server reboot), it take too much time to just start the MySQL server. The server … Continue reading
Changing MySQL data folder
Today a client wanted to move his MySQL database to second hard disk. Moving MySQL database to its own hard disk improve IO performance as the hard disk only need to serve MySQL data, nothing OS related. This was a … Continue reading
MySQL blog
Today i found a blog on MySQL performance. http://www.mysqlperformanceblog.com/mysql-performance-presentations/ I manage many big MySQL databases, some are over 20 GB in size. But i have not yet done much MySQL optimizations. For me, it is good CPU and enough RAM … Continue reading
MySql not starting on new cpanel server
On new cpanel server, MySQL is not starting. # service mysql start Starting MySQLCouldn’t find MySQL manager or server [FAILED] # Can’t find anything in log file /var/log/mysql.log I tried removing rpm of mysql and resinstalled mysql with /scripts/mysqlup –force … Continue reading
Posted in Cpanel Server, mysql
Leave a comment
