How to Create a Database and User in GoAdmio (MySQL)

Every WordPress site, shop and app on your server starts the same way: a database, a user, and the permission that joins them. In GoAdmio that trio takes two minutes.

Create the database

  1. Go to Databases » MySQL Databases.
  2. Enter a name for the new database. Keep it recognizable: shopdb beats db1 at 2 AM.
  3. Create it. The database appears in the list, prefixed to your account.

Create the user

  1. On the same page, add a database user with a strong generated password.
  2. Save the credentials somewhere safe immediately; you will paste them into the app once and never want to retype them.

Join them with the right privileges

A user is useless to a database until you grant it access. Assign the user to the database and grant the privileges the app needs. For typical CMS installs that means full privileges on that one database. Resist the temptation to reuse one super-user across every app: a leaked wp-config.php should cost one database, not all of them.

Wire it into the app

The connection settings your app asks for are: database name and user exactly as created (with the account prefix), the password, and host localhost. Installers like WordPress’s ask for these on one screen; existing apps read them from their config file.

Good hygiene from day one

  • One database per app, one user per database.
  • Generated passwords, stored in a password manager.
  • When an app is deleted, drop its database and user too; orphans accumulate risk.

From the shell, /go/mysql and /go/mysqlbackup cover admin tasks and dumps. Details in the docs, the MySQL Databases guide and at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *