Start WORD PRESS

Web programming topics
User avatar
Face
Major
Major
Posts: 727
Joined: Thu Feb 18, 2010 5:06 pm
Location: SRI LANKA.KANDY.

Start WORD PRESS

Post by Face » Fri Feb 18, 2011 11:23 pm

I wanna start Wordpress site.

I wish to start testing in local host

I install WAMP server I start
EC.png
EC.png (37.31 KiB) Viewed 12173 times
then I create a data base name WORDPRESS

edited the php file using the wordpad.
EC 2.png
EC 2.png (19.77 KiB) Viewed 12173 times
after those editings I clicked wordpress link in local host page.But I was not able to start wordpress

Error establishing a database connection


I did all these thing with you tube advices :P
User avatar
Saman
Lieutenant Colonel
Lieutenant Colonel
Posts: 828
Joined: Fri Jul 31, 2009 10:32 pm
Location: Mount Lavinia

Re: Start WORD PRESS

Post by Saman » Sat Feb 19, 2011 12:09 am

Have you created a database by going to phpMyAdmin by giving the name "wordpress" ?
I guess there is no database in that name or you missed to create one.
User avatar
Face
Major
Major
Posts: 727
Joined: Thu Feb 18, 2010 5:06 pm
Location: SRI LANKA.KANDY.

Re: Start WORD PRESS

Post by Face » Sat Feb 19, 2011 8:23 am

BRo I created a database with the name WORDPRESS
EC3.png
EC3.png (40.48 KiB) Viewed 12149 times
here is a screen shot in phpmyadmin>localhost>database

can you please help me on this?I just started yesterday.confused :(

I will restart all in correct manner.Can you tell me the way that I should follow
User avatar
Nipuna
Moderator
Moderator
Posts: 2729
Joined: Mon Jan 04, 2010 8:02 pm
Location: Deraniyagala,SRI LANKA

Re: Start WORD PRESS

Post by Nipuna » Sat Feb 19, 2011 9:34 am

I don't remember much about WordPress now. Because I didn't use it for many days.

But When i install I didn't want to edit any PHp file.

Do like this

Make a New data base in MySql

Then download wordpress and Install it as Joomla (I mean installing it just as easy s Joomla).

When asking a Data base Give the data base name you created before.

It isn't that hard. :)
User avatar
Nipuna
Moderator
Moderator
Posts: 2729
Joined: Mon Jan 04, 2010 8:02 pm
Location: Deraniyagala,SRI LANKA

Re: Start WORD PRESS

Post by Nipuna » Sun Feb 20, 2011 10:59 am

Hey friend Do as this

First

Download Wordpress from wordpress site and then Extract it. Then Copy the wordpress folder to www of Wamp folder.

Then Start Wamp and type localhost in web browser's address bar.

Then
Go to http://localhost/phpmyadmin/
Then
Create a New Data base. I am making one called wp.
Then
Then go to Privilege of wp data base
Then
add a user, I add wpadmin
Then
do as in the Picture
Untitled.jpg
Untitled.jpg (185.89 KiB) Viewed 12139 times
Then Click go it will create a user

Then go back to http://localhost/ again.
Click on the Wordpress

Then Follow the Instructions

That's All :)
User avatar
Face
Major
Major
Posts: 727
Joined: Thu Feb 18, 2010 5:06 pm
Location: SRI LANKA.KANDY.

Re: Start WORD PRESS

Post by Face » Sun Feb 20, 2011 12:57 pm

Bro I got Joomla installed & it is nice.But I like to start WORDPRESS.
I will try that way & ask questions when I get :)
Pansophic
Sergeant
Sergeant
Posts: 25
Joined: Sun Feb 13, 2011 4:05 pm

Re: Start WORD PRESS

Post by Pansophic » Tue Mar 01, 2011 2:31 pm

goto localhost/phpmyadmin/
default username is root and password is blank

there make a database named "wordpress" and you should be good to go.
User avatar
Face
Major
Major
Posts: 727
Joined: Thu Feb 18, 2010 5:06 pm
Location: SRI LANKA.KANDY.

Re: Start WORD PRESS

Post by Face » Tue Mar 01, 2011 8:27 pm

Thanks brother.I will try & ask if it woks with me.I tried But All the time it was upset :(

Any way thanks for the reply.I was trying to start WP.
User avatar
Face
Major
Major
Posts: 727
Joined: Thu Feb 18, 2010 5:06 pm
Location: SRI LANKA.KANDY.

Re: Start WORD PRESS

Post by Face » Tue Mar 01, 2011 11:38 pm

Error establishing a database connection

I cant get wordpress install in here.....What is the error I do ?

I get wamp extracted in to my pc win7 partition
Then I extract that Wp zip file to wamp WWW folder.
I start a db name with wordpress in phpmyadmin
then I rename thata wp-config-sample.php file as wp-config.php
I edited that file with wordpad like this

Code: Select all

/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');

/** MySQL database username */
define('DB_USER', 'root');

/** MySQL database password */
define('DB_PASSWORD', '');

/** MySQL hostname */
define('DB_HOST', 'localhost');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

saved it.

Then tried to satrt WP.But get Error establishing a database connection massage
User avatar
Face
Major
Major
Posts: 727
Joined: Thu Feb 18, 2010 5:06 pm
Location: SRI LANKA.KANDY.

Re: Start WORD PRESS

Post by Face » Wed Mar 02, 2011 8:59 am

I tried again & again. this is sick.
:(

I tried with wp reference , youtube etc . But always get the same error
wordpress.png
wordpress.png (17.9 KiB) Viewed 12112 times
But I need it do this.I will try more & more. I need help from you to find out what is the error I made .
Post Reply

Return to “Web programming”