MySQL Forums
Forum List  »  Newbie

Trying to setup db
Posted by: Jim Farthing
Date: June 08, 2013 10:45AM

Hi all,
I have worked with MySQL before but it has been a LONG time ago. Now I am trying to setup a db using phpMyAdmin.

I am trying to setup this database for the Article Friendly script. The instructions state that you need to use a little script that they have furnished.

define("DB_NAME","a6852953_article");
define("SERVER_NAME","'mysql12.000webhost.com'");
define("USER_NAME","a6852953_article");
define("PASSWORD","paganArticle1");
$dbhost=SERVER_NAME;
$dbuser=USER_NAME;
$dbpasswd=PASSWORD;
$dbname=DB_NAME;

It chokes on the first line and if I remove that it chokes on whatever is there.

The syntax looks correct to me with what little I remember and I also checked the manual for 5.1 which is what my host uses.

Anyone spot anything wrong?

Thanks for reading!
Jim

Options: ReplyQuote


Subject
Written By
Posted
Trying to setup db
June 08, 2013 10:45AM
June 08, 2013 07:04PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.