Skip to content

How to create additional databases in my domain? #1890

Discussion options

You must be logged in to vote

I got the solution by myself.

First of all, I must warning that my solution could be insecure for some scenarios, because I granted ALL PRIVILEGES to a DB user. Anyway you can use it as a path to find your own safer solution.

This solution uses global-db. If you created a specific db for your site (using --local-db parameter), you may change global-db to the name of your "local-db".

  1. Access your server via SSH.
  2. Log in as root in MariaDB / MySQL: cd /opt/easyengine/services && docker-compose exec global-db bash -c 'mysql -uroot -p${MYSQL_ROOT_PASSWORD}'.
  3. Create an user: CREATE USER 'username'@'%' IDENTIFIED WITH mysql_native_password BY 'password'; (I used the older, though still secure an…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marcoandrei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant