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 HostingZymic Free Web Hosting - General Discussion & Help right
  Closed Topic Start new topic
left right
jackosticks
post Jun 16 2009, 04:08 AM
Post #1


Newbie
*

Group: Members
Posts: 11
Joined: 16-June 09
From: Cairns, Australia
Member No.: 99,735



CODE
<?php
$connection_details = mysql_connect(
mysql_select_db("db", $connection_details);
?>


What is the connection details, I.E the hostname, so I can connect to my database to my website.

Thanks in advance.

Jackosticks
Go to the top of the page 
 
  + Quote Post
Ed
post Jun 16 2009, 04:10 AM
Post #2


Outrageously Uber Ninja
*******

Group: Administrators
Posts: 2,831
Joined: 11-March 07
From: UK
Member No.: 9



Hostname is localhost, for the other details you need to create your database and user, then assign it privileges here: http://www.uuuq.com/user_db.jsp
Go to the top of the page 
 
  + Quote Post
jackosticks
post Jun 16 2009, 04:12 AM
Post #3


Newbie
*

Group: Members
Posts: 11
Joined: 16-June 09
From: Cairns, Australia
Member No.: 99,735



QUOTE(Bread @ Jun 16 2009, 04:10 AM) *
Hostname is localhost, for the other details you need to create your database and user, then assign it privileges here: http://www.uuuq.com/user_db.jsp


Thanks for the speedy reply, silly question : ( .... anyway, having difficulty logging into PHPMyAdmin, it is timing out.... So I either have to inject SQL through PHP... or wait for another time......

If there are any remedies, I would be greatly appreciative.

Jackosticks.
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: 25th May 2013 - 03:11 AM