Archived herein so that I can refer to this, whicle createg databases and assigning privileges.
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 databasename
MySQL will prompt for the 'username' database password and then create the initial database files. Next you must login and set the access database rights:
mysql -u username -p
Again, you will be asked for the 'username' database password. At the MySQL prompt, enter following command:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK 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 'password' is the password required for that username
Note: Unless your database user has all of the privileges listed above, you will not be able to run Drupal.
If successful, MySQL will reply with:
Query OK, 0 rows affected
To activate the new permissions, enter the following command:
FLUSH PRIVILEGES;
Subscribe to:
Post Comments (Atom)
VIM issues with powerline
What to do if you get this annoying issue - vi requirements.txt ...
-
My search for a EWS way of fetching email came to a halt. An awesome software exists. DAVMAIL ! Awesome part is, it implements POP/IMAP/...
-
You want to have apps running in docker container. why? Its convenient, to upgrade and twea k the app independent of changes to your ow...
-
Thanjavur!!! Taken from wikipedia, The name came from the killing of daemon called Tanjan by 'Neelamegha Perumal' a form of Vishn...
No comments:
Post a Comment