Database prob.

Started on the old forum in April 2010 · view the original in the archive · old links redirect here

#db-prob

5 replies · 384 views · started 16 years ago · 1 min read

4 participants
khaliq Newbie · 8 posts #1

,help me pls guys. .I have already uploaded my sql and script to my site, but it always CANNOT CONNECT TO THE DATABASE, what should i do to my prob. pls help me!

Mysterio Lead · 630 posts #2

The answer is: be sure that you declared correctly the dbname, pass, user, and server, in the config.php file.

But i think you dont know what that is, because of your question. So learn whats your dbname, user and pass, and also your the server and write them there. You may see them in your cPanel or vPanel.

Then tell me how is going.

mysterio.al - programming is a functional art

Mysterio Lead · 630 posts #3

Do you know how to configure dbname, user, pass and server at config.php (or configuration.php or db.inc.php / it depends). If yes, try that first!

mysterio.al - programming is a functional art

Mysterio Lead · 630 posts #5

sanju wrote: Plz share it...If you have

We are talking something other here... Go search for the code. I can help you to code, but I cant code for you!

mysterio.al - programming is a functional art

albertynos Junior · 23 posts #6

man....is sommething like that

 $dbname = " here put your database name";
$dbhost = "here your host... usually is localhost";
$dbuser = "here the username of your database";
$dbpass = "and here the password";

That is for your config.php or configuration.php....depends...how is...at you...

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close