Hello @miko31
The error DB Error: no database selected means CiviCRM connected to MySQL but no database was selected for the connection.
Since this happens right after the installation, it usually means the database configuration was not completed correctly.
A few things to check:
• Make sure the CiviCRM database already exists in phpMyAdmin before running the installer.
• Verify that the database name in the installer is correct.
• Confirm that the MySQL user has full permissions for that database.
• If the installation was interrupted, try deleting the CiviCRM tables and running the installer again.
If the issue persists, could you confirm:
- whether the database was created manually beforehand
- which database name you entered during the CiviCRM installation
Thread Starter
miko31
(@miko31)
yes i created the DB manually
the database name i entered is eca
Thanks for confirming.
The error DB Error: no database selected usually happens when the database connection is established but the database name is not actually selected in the connection string.
Since your database is eca, please check:
- In phpMyAdmin, confirm that the database
eca exists and contains the CiviCRM tables after installation.
- Verify that the MySQL user you entered during the installer has permissions on the
eca database.
- Check your CiviCRM configuration file (usually
civicrm.settings.php) and confirm that the database name is correctly set to eca.
Also, since you are using XAMPP, make sure the database host is set to localhost.
If possible, could you also confirm:
- the database host you entered during installation
- whether any CiviCRM tables were created in the
eca database?
Thread Starter
miko31
(@miko31)
eca exist with tables
can i give you remote access to maintain it.
Thanks for the offer, but for security reasons support in the forums cannot access sites remotely.
Since the database eca exists and already contains tables, the error may come from the database configuration used by CiviCRM.
Could you check the file:
wp-content/plugins/civicrm/civicrm.settings.php
and confirm that the database connection line contains the correct database name (eca) and host (localhost)?
Also, please let us know:
- the database host you entered during installation
- the MySQL username used for the connection
@miko31 Please never offer access to your own systems here in the forum. This is against the guidelines: https://wordpress.org/support/guidelines/#we-reserve-the-right-to-manage-the-forums-to-the-best-of-our-ability
The WordPress plugin CiviCRM that you are using is also not included in the WordPress repository. I’m not sure where you got it, but I would recommend contacting the person who provided it to you. Since we don’t have the plugin available here in the forum, it’s difficult to help you here.