Author |
Message |
05/10/2003 14:36:31
|
Anonymous
|
Hi,when i go to www.mydomain.com/admin.php i get this error
MySQL Error : Database Error
Error Number: 1046 No Database Selected
What do i do?
In conf.inc.php, where it says
$GB_DB["dbName"] = "";
$GB_DB["host"] = "localhost";
$GB_DB["user"] = "";
$GB_DB["pass"] = "";
I put the right info , but do i edit anything else in the conf.inc.php file, and if so what, and what do i put etc.
Please help.
|
|
04/12/2003 20:23:22
|
khan
Beginner
Joined: 04/12/2003 16:49:52
Messages: 27
Offline
|
hi
first of all you must have a database if your database name is ex"gbook" your database user name ex"shiela" and your database pass ex"1234" so you configure your admin/config.inc.php file like this:
$GB_DB["dbName"] = "gbook";
$GB_DB["host"] = "localhost";
$GB_DB["user"] = "shiela";
$GB_DB["pass"] = "1234";
once you do it make sure your all files uploaded to server then type http://www.yourdomain.com/yourdir/install.php and press enter you will got the next step thier is 4 boxes fill it with same info as you put in admin/config.inc.php file and press the first one left button "Create Table" and follow Screen Instructions.Hope this will solve your problem.And please don,t forget to register with this forum to get more advantage.
|
http://www.al-majroh.com/forums/signature.php
http://www.al-majroh.com/forums/includes/signature.php |
|
22/12/2003 03:52:14
|
Anonymous
|
What if I don't have a password? Should I just leave that field blank?
|
|
23/12/2003 00:30:36
|
Anonymous
|
Never mind.
|
|
04/01/2004 18:08:12
|
khan
Beginner
Joined: 04/12/2003 16:49:52
Messages: 27
Offline
|
Hi
"Sorry many for any delay"
I was out of location so got too late replying to you.
well if you don,t have database password you can leave it blank But I don,t Think that your database have no pass.Maybe you don,t know your database pass so that you are saying
What if I don't have a password? Should I just leave that field blank?
I suggest you should confirm from your host.
|
http://www.al-majroh.com/forums/signature.php
http://www.al-majroh.com/forums/includes/signature.php |
|
08/01/2004 11:11:51
|
Anonymous
|
hi Im new in php and mysql, how can i have the database?, this come with the script or i have to make it?, and how it has to look like? if any wanna help me with this my email is landivarcorp@comcast.net thanks.
|
|
11/01/2004 09:06:51
|
Anonymous
|
nevermind
|
|
|