Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multiple instances of MySQL/mariadb on a single box (OpenRC)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jannis
Guru
Guru


Joined: 05 Dec 2004
Posts: 340
Location: Germany / Bavaria / Aschaffenburg

PostPosted: Thu Mar 14, 2019 9:02 am    Post subject: Multiple instances of MySQL/mariadb on a single box (OpenRC) Reply with quote

Hi, my Gentoo server lately suffered some crashes of mariadb under load (spikes in number of queries/sec just before the crash). That instance is used for multiple services (mailbox management and mapping for Postfix/Courier, several web services (nextcloud, wordpress, ...), ...).
To find the application causing MySQL to crash, I would like to set up several instances of the database server and separate the services until there's only one service left using the MySQL server crashing.

There are some hints in the Gentoo docs, init scripts (OpenRC) and configuration files but I couldn't find a definitive guide on how to run several, separated instances of MySQLd/mariadb on one machine?

Can anyone please point me to the correct docs or briefly describe the steps neccessary? Thanks!
Back to top
View user's profile Send private message
Blind_Sniper
Guru
Guru


Joined: 20 Apr 2018
Posts: 340

PostPosted: Thu Mar 14, 2019 9:12 am    Post subject: Reply with quote

https://dev.mysql.com/doc/refman/5.7/en/multiple-unix-servers.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum