How do I change MySQL configuration?

How do I change MySQL configuration?
Answer
Editing the Mysql my.cnf File
  1. Login to your server via SSH.
  2. To edit the MySQL settings with nano type the following: …
  3. Find the line to edit. …
  4. To increase the max_connections to 110 change it to the following. …
  5. Enter Ctrl + O to “WriteOut” or save the settings.
  6. Then Ctrl + X to exit.
  7. Restart MySQL by typing the following.
 

Tìm kiếm

Back
Top