Help - Search - Members - Calendar
Full Version: Localhost?
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
NaN101
What data should I use to fill this in?

CODE
<?php

$user="???";
$host="???";
$password="???";
$database="???";
?>


Which user? My own username, of the name of the database_user? My own password, or database_user password? What is the host? Database seems logical.
swordz
database_user, database_user password.

swordz
Mortalis9
QUOTE(NaN101 @ Dec 8 2008, 08:12 PM) *
What data should I use to fill this in?

CODE
<?php

$user="username";
$host="localhost";
$password="password";
$database="database name";
?>


Which user? My own username, of the name of the database_user? My own password, or database_user password? What is the host? Database seems logical.

Jon P.
In the MYSQL MANAGEMENT menu, you created 1 or more databases. In addition, you would have created one or more mysql user's and granted those users authority to the database. The userid, password and database would be one that you created in this menu.
NaN101
Allright, and the host is simply localhost? Thanks for the info. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.