Problems with Mysql

0

I have a mysql database stored in a server, I connect remotely by ssh and I access from there to the databases, but when leaving the session by ssh, my other colleagues who also connect to the base server data can no longer access it, that is if I close the session ssh automatically drops mysql. Someone has some idea of what might be happening.

    
asked by Aria Daenerys 28.05.2018 в 23:15
source

2 answers

0

Are you using the pkill command? Remember that you can close your session only, for example

pkill -9 -t pts/3

You get it first with the who command that in this example should be pts/3 .

    
answered by 28.05.2018 в 23:26
0

What may be happening is that you start the server mysqld under your personal SSH session so when you close the process ssh on your PC / laptop client the remote session ends the execution of all the processes initiated during the session . What you must do is configure MySQL to start as a daemon under its own user ie; the admin (root) of the server must create a new user and within that user configure the mysql service, depending on the operating system server the steps to configure the service will be different.

    
answered by 29.05.2018 в 06:23