Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsZymic Free Web HostingDatabases & MySQL right
  Closed Topic Start new topic
left right
NaN101
post Dec 8 2008, 08:12 PM
Post #1


Newbie
*

Group: Members
Posts: 8
Joined: 6-December 08
Member No.: 71,921



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.
Go to the top of the page 
 
  + Quote Post
swordz
post Dec 8 2008, 09:16 PM
Post #2


Outrageously Uber Ninja
*******

Group: Moderators
Posts: 1,805
Joined: 10-July 08
From: UK
Member No.: 44,994



database_user, database_user password.

swordz
Go to the top of the page 
 
  + Quote Post
Mortalis9
post Dec 9 2008, 12:27 AM
Post #3


Super Ninja
****

Group: Members
Posts: 357
Joined: 4-November 07
From: Los Angeles
Member No.: 2,317



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.

Go to the top of the page 
 
  + Quote Post
Jon P.
post Dec 9 2008, 01:12 AM
Post #4


Newbie
*

Group: Members
Posts: 8
Joined: 2-December 08
Member No.: 71,435



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.
Go to the top of the page 
 
  + Quote Post
NaN101
post Dec 9 2008, 03:03 PM
Post #5


Newbie
*

Group: Members
Posts: 8
Joined: 6-December 08
Member No.: 71,921



Allright, and the host is simply localhost? Thanks for the info. smile.gif
Go to the top of the page 
 
  + Quote Post
 Closed Topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 21st May 2013 - 02:17 PM