Notices
Reply

Thread: Confessions of a WordPress Newbie - Hosting Your Own

 
Tools Search
  #1  
Old September 3rd, 2008, 10:49 PM
ABW Ambassador
Join Date: February 3rd, 2008
Posts: 3,924
Since WordPress gets so much GoodPress around here I decided it's my best choice for a new blog site I'm developing. Instructions for the installation are heavily geared toward users who buy hosting services. My installation is on one of our servers so is being installed locally. I ran into a couple issues that I had to do a little digging to work through...

First, during the "5 minute" install that turned into three hours, once I figured out how to create a MySQL database using the command line utility, the install routine would connect to the database server but couldn't "select the database". More searching... I finally found precise syntax in the WP forum which indicated that I had not set permissions correctly. It would have been nice if this was in the instructions. So I'm posting it here...
Quote:
mysql> CREATE DATABASE databasename;
Query OK, 1 row affected (0.00 sec)

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

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

mysql> EXIT
So to summarize, before installing WP, create the database first using the commands above. Outside hosting services will probably have other means of setting up a database if it's necessary.

Second issue in next post...
__________________



X
  #2  
Old September 3rd, 2008, 11:04 PM
ABW Ambassador
Join Date: February 3rd, 2008
Posts: 3,924
Second issue...

My first attempt at installing WP was directly at the server console. Finally got it installed to the point of logging in to WP and was presented with a page not found error. And going to the home page resulted in a funky white screen with all black text and some links scattered around. Then I realized that when I tried to access the site using it's domain name, the page address changed to the private internal network IP. After nothing I did would change the malady, I decided that the installation takes on the address of the connection it's installed on. So I killed the database and began a re-install. But this time I remoted out to one of my client's networks and ran the install across the Internet from there. The whole process went flawlessly.

And, it took only five minutes!
__________________



X
  #3  
Old September 3rd, 2008, 11:29 PM
ABW Ambassador
Join Date: January 17th, 2005
Location: Springfield, Missouri, USA
Posts: 3,055
Just one of the many reasons I could never handle running my own server without something like cpanel.

Do you have cpanel or something similar? If you know how to do all that via command line, no problem I guess. I'd have to relearn everything I'm doing if I had to create a db and assign permissions via command line! LOL!
__________________
"I'm running so far behind today I can't remember whether I found a rope or lost a horse." -- Author Unknown.
Join ABW to remove this sponsored message.
  #4  
Old September 4th, 2008, 12:17 AM
ABW Ambassador
Join Date: February 3rd, 2008
Posts: 3,924
I never felt the need to use cpanel type apps as I've always provided hands on personal service for clients.
As far as knowing how, I just do what I have to do. Different database language inceptions are basically similar, just different syntax. I've never worked with MySQL until a week ago, and I think at this stage of life I'm not that willing to put the effort into it (read lazy) that I have MS SQL server and Access. I'm not one of those Unix types that thrive on command line gymnastics.
__________________



X
  #5  
Old September 4th, 2008, 11:59 AM
ABW Ambassador
Join Date: January 17th, 2005
Location: Springfield, Missouri, USA
Posts: 3,055
Quote:
Originally Posted by Boomers
I'm not one of those Unix types that thrive on command line gymnastics.
__________________
"I'm running so far behind today I can't remember whether I found a rope or lost a horse." -- Author Unknown.
Reply

Tools Search
Search:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Up Wordpress On Your Own Hosting Thread Trust Blogging 16 April 17th, 2008 10:11 PM
Hosting Coupons: Up To 12 mos Free Hosting Geno Prussakov Couponer's Corner 4 July 25th, 2006 07:36 AM
My Keyword Research - Care to contribute to the research? webdesignhq Search Engine Insight 3 December 7th, 2004 09:16 PM
WhenU Keyword Database WhenU 43 March 2nd, 2002 05:13 AM


Content Relevant URLs by vBSEO ©2011, Crawlability, Inc.