Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Tutorials
[TUT] How to make RP r63b Habbo Retro | IIS | RealityRP 2 |
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="peterq123123" data-source="post: 248313" data-attributes="member: 37248"><p>If it says to many connections or an error about mysql follow this:</p><p></p><p>The default setting for max_connections is 100. You can see what the current setting is by running the following SQL command from the MySQL command line tool, phpMyAdmin, or a similar tool.</p><p></p><p>Run this SQL Command:</p><p>show variables like "max_connections";</p><p></p><p></p><p>This will return a resultset like this, showing you what your current max connections setting is:</p><p>+-----------------+-------+</p><p>| Variable_name | Value |</p><p>+-----------------+-------+</p><p>| max_connections | 100 |</p><p>+-----------------+-------+</p><p></p><p></p><p>You can change the setting to e.g. 200 by issuing the following command without having to restart the MySQL server (obviously it will only work if the user you are logged in as has sufficient permissions to do this):</p><p></p><p>set global max_connections = 200;</p><p></p><p>This will take effect immediately, but will be forgotten the next time MySQL is restarted. To make the change permanent you need to edit the my.cnf configuration file. On CentOS, RedHat and similar distributions this is at /etc/my.cnf; other distros will store it elsewhere.</p><p></p><p>Under the [mysqld] section add the following setting:</p><p></p><p>max_connections = 200</p><p></p><p>Now when you restart MySQL the next time it will use this setting instead of the default.</p><p></p><p>Note that increasing the number of connections that can be made will increase the potential amount of RAM required for MySQL to run. Increase the max_connections setting with caution!</p><p></p><p>Made by:<a href="http://forum.realityrp2.com/user-3.html" target="_blank">Ben</a></p></blockquote><p></p>
[QUOTE="peterq123123, post: 248313, member: 37248"] If it says to many connections or an error about mysql follow this: The default setting for max_connections is 100. You can see what the current setting is by running the following SQL command from the MySQL command line tool, phpMyAdmin, or a similar tool. Run this SQL Command: show variables like "max_connections"; This will return a resultset like this, showing you what your current max connections setting is: +-----------------+-------+ | Variable_name | Value | +-----------------+-------+ | max_connections | 100 | +-----------------+-------+ You can change the setting to e.g. 200 by issuing the following command without having to restart the MySQL server (obviously it will only work if the user you are logged in as has sufficient permissions to do this): set global max_connections = 200; This will take effect immediately, but will be forgotten the next time MySQL is restarted. To make the change permanent you need to edit the my.cnf configuration file. On CentOS, RedHat and similar distributions this is at /etc/my.cnf; other distros will store it elsewhere. Under the [mysqld] section add the following setting: max_connections = 200 Now when you restart MySQL the next time it will use this setting instead of the default. Note that increasing the number of connections that can be made will increase the potential amount of RAM required for MySQL to run. Increase the max_connections setting with caution! Made by:[URL='http://forum.realityrp2.com/user-3.html']Ben[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
[TUT] How to make RP r63b Habbo Retro | IIS | RealityRP 2 |
Top