How to connect to SolusVM Master database

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

How to connect to SolusVM Master database?

Answer

  1. Connect to the SolusVM Master server via SSH
  2. Find user, password and database name for SolusVM MySQL database:

    # cat /usr/local/solusvm/includes/solusvm.conf

    The format of the solusvm.conf is as follows: 

    CONFIG_TEXT: <DATABASENAME>:<USER>:<PASSWORD>:<HOST>:<the key is the last entry>

  3. Connect to the database:

    # mysql -u <USER> -p <PASSWORD> -D <DATABASENAME>

The actions above has been added to script, so it is possible to access SolusVM database using the following command:

# curl -o solusvmdb.sh https://raw.githubusercontent.com/solusvm-support/helpers/master/solusvmdb.sh && sh solusvmdb.sh

 

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.