Page 1 of 3

Start WORD PRESS

Posted: Fri Feb 18, 2011 11:23 pm
by Face
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 12251 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 12251 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

Re: Start WORD PRESS

Posted: Sat Feb 19, 2011 12:09 am
by Saman
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.

Re: Start WORD PRESS

Posted: Sat Feb 19, 2011 8:23 am
by Face
BRo I created a database with the name WORDPRESS
EC3.png
EC3.png (40.48 KiB) Viewed 12227 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

Re: Start WORD PRESS

Posted: Sat Feb 19, 2011 9:34 am
by Nipuna
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. :)

Re: Start WORD PRESS

Posted: Sun Feb 20, 2011 10:59 am
by Nipuna
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 12217 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 :)

Re: Start WORD PRESS

Posted: Sun Feb 20, 2011 12:57 pm
by Face
Bro I got Joomla installed & it is nice.But I like to start WORDPRESS.
I will try that way & ask questions when I get :)

Re: Start WORD PRESS

Posted: Tue Mar 01, 2011 2:31 pm
by Pansophic
goto localhost/phpmyadmin/
default username is root and password is blank

there make a database named "wordpress" and you should be good to go.

Re: Start WORD PRESS

Posted: Tue Mar 01, 2011 8:27 pm
by Face
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.

Re: Start WORD PRESS

Posted: Tue Mar 01, 2011 11:38 pm
by Face
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

Re: Start WORD PRESS

Posted: Wed Mar 02, 2011 8:59 am
by Face
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 12190 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 .