WordPress

From KevinWiki

(Difference between revisions)
Jump to: navigation, search
m
Line 13: Line 13:
CREATE DATABASE databasename;  
CREATE DATABASE databasename;  
   
   
-
GRANT ALL PRIVILEGES ON databasename.* TO 'username'@'hostname' IDENTIFIED BY 'password';  
+
GRANT ALL PRIVILEGES ON `databasename`.* TO `username`@`hostname` IDENTIFIED BY 'password';  
    
    
FLUSH PRIVILEGES;  
FLUSH PRIVILEGES;  
</source>
</source>

Revision as of 08:48, 21 February 2009

Contents

WordPress

WordPress is Weblog Software written using PHP. It uses MySQL database for storing data.

Installation

This instruction is for Ubuntu Linux 8.04 (possibly other versions).

Prerequisite

It requires installing Apache, PHP and MySQL (APM). Thus these must be installed before installing WordPress. The installation instruction can be found from APM.

Database Setup

CREATE DATABASE databasename; 
 
GRANT ALL PRIVILEGES ON `databasename`.* TO `username`@`hostname` IDENTIFIED BY 'password'; 
 
FLUSH PRIVILEGES;
Personal tools