The installation script could not connect to the database bug_tracker on the host localhost using the specified username and password.
Please check these details are correct and that the database already exists then retry.
DB Error: no such database
Array
even if I provide the root username and password I cannot get connected to the database (already created).
the db is mysql 3.23.41-1
php is : php-4.1.2-7.2.4
please advise, as I spent a few hours already and by going through the forum nobody seems to have the same pb.
Thanks, Anthony
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-11-02
Ok I found the problem.
Php was not compiled with the mysql.
the problem is that the DB::Connect does not return a specific enough error to troubleshoot
Anthony
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm running:
- MySQL v3.23.54
- PHP 4.2.2
- Apache v2
- Red Hat v8
I get the same error message:
DB Error: no such database Array
I created a BT database, and I can run MySQL fine from a terminal window. I also checked PHP installation via phpinfo() and it says that it was compiled with "--with-mysql=shared,/usr". I didn't compile this myself but ratrher used the default version that comes w/ RedHat v8.
I've tried to access from several diff machines (incl. localhost) and checked, double- and tripple-checked php.ini, mysql, etc.
I'm totally stumped. The worst thing is that I have a test version running on my Win2K laptop (IIS, MySQL, PHP). That puppy was up & running in minutes.
Anybody have any ideas?
TIA,
-martin.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I keep getting this error:
The installation script could not connect to the database bug_tracker on the host localhost using the specified username and password.
Please check these details are correct and that the database already exists then retry.
DB Error: no such database
Array
even if I provide the root username and password I cannot get connected to the database (already created).
the db is mysql 3.23.41-1
php is : php-4.1.2-7.2.4
please advise, as I spent a few hours already and by going through the forum nobody seems to have the same pb.
Thanks, Anthony
Ok I found the problem.
Php was not compiled with the mysql.
the problem is that the DB::Connect does not return a specific enough error to troubleshoot
Anthony
Gosh we just did the same thing with a brand
new setted up machine !!
Thanks, we might have lost a lot more time before going pack to the basis!
Stefphs team
Stefphs@info-solution.qc.ca
Hello,
I'm running:
- MySQL v3.23.54
- PHP 4.2.2
- Apache v2
- Red Hat v8
I get the same error message:
DB Error: no such database Array
I created a BT database, and I can run MySQL fine from a terminal window. I also checked PHP installation via phpinfo() and it says that it was compiled with "--with-mysql=shared,/usr". I didn't compile this myself but ratrher used the default version that comes w/ RedHat v8.
I've tried to access from several diff machines (incl. localhost) and checked, double- and tripple-checked php.ini, mysql, etc.
I'm totally stumped. The worst thing is that I have a test version running on my Win2K laptop (IIS, MySQL, PHP). That puppy was up & running in minutes.
Anybody have any ideas?
TIA,
-martin.
That certainly sounds like PHP isn't compiled with MySQL. I'd install the PHP dev pack and recompile it just to make sure.
It turns out that PHP was compiled right, but the rest of the system was a bit funky. Anyway, reinstalled all the pieces and now it works.
Thanks!
-martin.
I just noticed that your running Apache V2. I've run into problems with phpBB2 running on ApacheV2. I haven't tried phpbt under it yet.
phpBT seems to run fine under Apache v2.
-martin.