| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 | 
CREATE THE MySQL DATABASE--------------------------This step is only necessary if you don't already have a database set up (e.g.,by your host). In the following examples, 'username' is an example MySQL userwhich has the CREATE and GRANT privileges. Use the appropriate user name foryour system.First, you must create a new database for your Drupal site (here, 'databasename'is the name of the new database):  mysqladmin -u username -p create databasenameMySQL will prompt for the 'username' database password and then create theinitial database files. Next you must log in and set the access database rights:  mysql -u username -pAgain, you will be asked for the 'username' database password. At the MySQLprompt, enter the following command:  GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER,  CREATE TEMPORARY TABLES ON databasename.*  TO 'username'@'localhost' IDENTIFIED BY 'password';where: 'databasename' is the name of your database 'username' is the username of your MySQL account 'localhost' is the web server host where Drupal is installed 'password' is the password required for that usernameNote: Unless the database user/host combination for your Drupal installationhas all of the privileges listed above (except possibly CREATE TEMPORARY TABLES,which is currently only used by Drupal core automated tests and somecontributed modules), you will not be able to install or run Drupal.If successful, MySQL will reply with:  Query OK, 0 rows affectedIf the InnoDB storage engine is available, it will be used for all databasetables. InnoDB provides features over MyISAM such as transaction support,row-level locks, and consistent non-locking reads.
 |