Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 35fff67e1662974514be79ea9ab7ad73 > files > 1

wordpress-3.5.1-2.mga3.src.rpm

WordPress is a database driven blogging Web application.

Once this package is installed, there are a few configuration items which need
to be performed before the blog is usable.  First, you need to establish a
username and password to connect to your MySQL database as, and make both
MySQL and WordPress aware of this.  Let's start by creating the database and the
username / password inside MySQL first:

 $ mysql -u root -p
 mysql> CREATE DATABASE databasename;
 Query OK, 1 row affected (0.00 sec)

 mysql> GRANT ALL PRIVILEGES ON databasename.* TO "wordpressuser"@"localhost"
     -> IDENTIFIED BY "password";
 Query OK, 0 rows affected (0.00 sec)

 mysql> FLUSH PRIVILEGES;
 Query OK, 0 rows affected (0.00 sec)

 mysql> EXIT
 Bye
 $

This has created an empty database called 'databasename', created a user named
'wordpressuser' with the choosen password, and given the 'wordpress' user total
permission over the 'databasename' database.  Obviously, you'll want to select a
different password, and you may want to choose different database and user
names depending on your installation.  The specific values you choose are
not constrained.

Once that's done, open a web browser and go to: http://localhost/wordpress/