ferefinancial.blogg.se

Mysql create database
Mysql create database








mysql create database

Next, the Drupal documentation gets into creating a MySQL user account for your Drupal installation: 2) Create a MySQL user account for Drupal I named my Drupal database drupaldb, and created the database using the MySQL root user account, so my command looked like this:Īfter this command, I just entered the root password, and the database was created. That mysqladmin command shows all you need to do to create the Drupal database.

mysql create database

# mysqladmin -u username -p create databasename (here, 'databasename' is the name of the new database): Use the appropriateįirst, you must create a new database for your Drupal site In the followingĮxamples, 'username' is an example MySQL user which This step is only necessary if you don't already have aĭatabase set-up (e.g. The first part of the Drupal installation document refers to creating a MySQL database: I've written about the process of How to add/create a MySQL user before, but I just ran across the Drupal installation documentation, which also has a nice description for how to create a MySQL database (for use with Drupal), so I thought I'd include some of their documentation here, along with some notes from my own recent Drupal and MySQL installation. MySQL “create database” FAQ: Can you share an example of how to create a MySQL database, including (a) creating the MySQL database and (b) a new MySQL database user, with all appropriate MySQL grant permissions for that user?










Mysql create database