Tag Archives: wordpress

WordPress install

Step 1.  Create a database for the wordpress to live in.

(a) create a username for accessing this new database.

         # systemctl start mysql.service
        # mysql -u root -p
        mysql [none] >  CREATE USER ‘fred’@’localhost’ IDENTIFIED BY ‘new password’;

(b)  Create a database, calling it say, “WORDPRESS1”

        mysql [none] > CREATE DATABASE WORDPRESS1;

(c)  give rights to the user ‘fred” for this new database.

        mysql> GRANT ALL PRIVILEGES ON WORDPRESS1.* TO  ‘fred’@‘localhost’
                 -> IDENTIFIED BY ‘new password’;  
        mysql> FLUSH PRIVILEGES;
                     Query OK, 0 rows affected (0.01 sec)
       mysql> EXIT

Continue reading

© 2017, James Harry Burton. All rights reserved.