Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apache Roller 4.0 - Beginner's Guide

You're reading from   Apache Roller 4.0 - Beginner's Guide A comprehensive, step-by-step guide on how to set up, customize, and market your blog using Apache Roller

Arrow left icon
Product type Paperback
Published in Dec 2009
Publisher Packt
ISBN-13 9781847199508
Length 388 pages
Edition 1st Edition
Concepts
Arrow right icon
Toc

Table of Contents (16) Chapters Close

Apache Roller 4.0
Credits
Foreword
About the Author
About the Reviewers
1. Preface
1. An Introduction to Weblogs FREE CHAPTER 2. Installing Roller on Windows 3. Installing Roller on Linux 4. How to Start Working with Roller 5. Spicing Up Your Blog 6. Roller Themes and Blog Promotion 7. Working with Templates 8. Comments and Trackbacks Pop Quiz Answers
Index

Time for action — creating a MySQL database for Roller


In this exercise, you'll use the MySQL monitor to create a database for your Apache Roller blog site.

  1. Open a Terminal window (Start | All Programs | Accessories | Command Prompt) and type

    mysql -u root -p

  2. The MySQL monitor will ask you for the "root" user password. This is the password you used when installing MySQL server. Type it and press Enter. If the password is correct, the following screen shall appear:

  3. Now type the following lines after the mysql> prompt (remember to replace password with a secure password) and press Enter after each line:

    create database rollerdb;
    grant all on rollerdb.* to roller_user@'%' identified by 'password';
    grant all on rollerdb.* to roller_user@localhost identified by 'password';
    
  4. When finished, your screen should look like this:

  5. Notice the Query OK, 0 rows affected (X.XX sec) line after each line you typed. It means there were no errors with the commands you entered. Now type exit and press Enter to exit...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image