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
  Reply to this topic Start new topic
left right
elbabemed
post Apr 12 2012, 07:14 PM
Post #1


Newbie
*

Group: Members
Posts: 6
Joined: 12-April 12
Member No.: 237,716



unsure.gif I can not access to database from php . This is the code : @mysql_pconnect($dbhost,$dbusr,$dbpwd) or die ('OMG can not acces to database');


I have this message : OMG can not access database.

Please help me , I've checked connection to data base it connect I've creat some tables

But my website can't access to data base
Go to the top of the page 
 
  + Quote Post
ssfdre38
post Apr 12 2012, 08:35 PM
Post #2


THE SILENT FORUM NINJA
*******

Group: Administrators
Posts: 3,711
Joined: 23-January 10
From: on your screen
Member No.: 127,507



change mysql_pconnect() to mysql_connect() as mysql_pconnect() is disable
Go to the top of the page 
 
  + Quote Post
elbabemed
post Apr 15 2012, 11:39 AM
Post #3


Newbie
*

Group: Members
Posts: 6
Joined: 12-April 12
Member No.: 237,716



QUOTE(ssfdre38 @ Apr 12 2012, 08:35 PM) *
change mysql_pconnect() to mysql_connect() as mysql_pconnect() is disable

Thank YOU ssfdre38 VERY MUCH smile.gif
Go to the top of the page 
 
  + Quote Post
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 25th May 2013 - 07:56 AM