Apache has such a feature, what about MySQL?
Does one exist?
To access the Refresh from Database dialog box, right-click an object in MySQL Metadata Explorer and click Refresh from Database.
On RH systems, MySQL configuration file is located under /etc/my. cnf by default.
From another console window, restart MySQL the way you normally would, either with initscripts (e.g., your local variant of service mysql. server restart ) or with mysqladmin shutdown followed by a manual restart.
You were so close! The kill -HUP
method wasn't working for me either.
You were calling:
select @@global.max_connections;
All you needed was to set instead of select:
set @@global.max_connections = 400;
See:
http://www.netadmintools.com/art573.html
http://www.electrictoolbox.com/update-max-connections-mysql/
Try:
sudo /etc/init.d/mysql reload
or
sudo /etc/init.d/mysql force-reload
That should initiate a reload of the configuration. Make sureyour init.d script supports it though, I don't know what version of MySQL/OS you are using?
My MySQL script contains the following:
'reload'|'force-reload') log_daemon_msg "Reloading MySQL database server" "mysqld" $MYADMIN reload log_end_msg 0 ;;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With