Setup.php: DB error: No database selected

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
UweS
Posts: 2
Joined: Tue Jan 03, 2012 2:00 pm

Setup.php: DB error: No database selected

Post by UweS »

Hello,
when I try to start the setup I get the message:
DB error: No database selected
CREATE TABLE faq_faqadminlog ( id int(11) NOT NULL ...
Database: mysql at the same host
Server:Port, username, password, db and table prefix is set (see attached picture)
vtiger and phpBB are running at the same host, each with a different database in mysql.
I tried with and without a precreated database (used "CREATE SCHEMA `faq` DEFAULT CHARACTER SET utf8 ;" in MySQL Workbench).
Server is: Windows 2003 x64, Apache 2.0.52, PHP 5.2.66 (Version php.exe) php5apache2.dll as module in apache
What can I do??
Regards
Uwe
Unbenannt.JPG
You do not have the required permissions to view the files attached to this post.
UweS
Posts: 2
Joined: Tue Jan 03, 2012 2:00 pm

Solved: Setup.php: DB error: No database selected

Post by UweS »

Sorry,
When I set
SQL Server Host: 127.0.0.1:33307
the installation runs successfully.
Regards
Uwe
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Setup.php: DB error: No database selected

Post by Thorsten »

Hi,

okay. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply