Applicable to:
- SolusVM
Question
How to connect to SolusVM Master database?
Answer
- Connect to the SolusVM Master server via SSH
- 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>
- 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
Comments
0 commentsPlease sign in to leave a comment.