Title: Just activated plugin -error
Last modified: August 22, 2016

---

# Just activated plugin -error

 *  Resolved [soapdroid](https://wordpress.org/support/users/soapdroid/)
 * (@soapdroid)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/just-activated-plugin-error/)
 * Hello, when I go to access the backend for this product, I get on the page only
   what I typed below. Any ideas? Thank you very much!
 * User Data from External Database
 * User Data List
 * Error
 * [https://wordpress.org/plugins/external-database-access-using-wp-user/](https://wordpress.org/plugins/external-database-access-using-wp-user/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Sandip S Salunke](https://wordpress.org/support/users/sandysalunke/)
 * (@sandysalunke)
 * [11 years ago](https://wordpress.org/support/topic/just-activated-plugin-error/#post-5770453)
 * Hi,
 * Thanks for using “External DB Connect”.
 * I don’t understand what problem exactly you are facing, it’ll be helpful if you
   share screen shots. Also please mention your WordPress version.
 * Suggestion: Try to use plugin with lower WP versions.
 * Thanks & Regards
    Sandip S.
 *  Plugin Author [Sandip S Salunke](https://wordpress.org/support/users/sandysalunke/)
 * (@sandysalunke)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/just-activated-plugin-error/#post-5770467)
 * Hi soapdroid,
 * I believe you are doing well.
 * I have gone through the problem you are facing, please check with below details
   which will help you to resolve the same.
 * – First of all enable your error reporting for wich will show you the errors,
   warnings and notices.
    – Now try to access the same page again. You will get 
   following warning message. `Warning: mysqli_connect(): (HY000/1045): Access denied
   for user 'YOUR_USER_NAME_HERE'@'localhost' (using password: YES) in C:\xampp\
   htdocs\wordpress\wp-content\plugins\external-database-access-using-wp-user\ext_db_aaccess.
   php on line 180` Warning: mysqli_error() expects parameter 1 to be mysqli, boolean
   given in C:\xampp\htdocs\wordpress\wp-content\plugins\external-database-access-
   using-wp-user\ext_db_aaccess.php on line 180 – Note that when new user is being
   created in WP site the plugin create the user in your external database with 
   his/her credential. – For existing users (user created before installation of
   plugin) it creates the user in your external database with his/her existing credential.
   To access the external database you need to edit user profile so that plugin 
   can create the user in external database with his/her details. – Here the term“
   user” is database user like we have “root” in our MySQL. – I can see that you
   are trying to connect to your external database using user “admin” and admin 
   has no access to that database. There are few possibilities like the user is 
   not created for your external database OR the user has insufficient permissions.–
   Please try to check if the user is exist in your external database, and if it
   is exist then check for its permissions and change the same accordingly. – If
   the provided details does not help you much then feel free to contact me.
 * Thanks for using plugin and reporting an issue.
 * Regards
    Sandip S
 *  [ulises2010](https://wordpress.org/support/users/ulises2010/)
 * (@ulises2010)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/just-activated-plugin-error/#post-5770473)
 * Hello Sandip S and thanks for your work.
 * I’m trying to conect with a external DB with your plugin but I can’t 🙁
 * I recibe in the ‘External DB data’ link this message:
 * > Warning: mysqli_connect(): (28000/1045): Access denied for user ‘Medina’@’localhost’(
   > using password: YES) in /home/lasombradetusomb/public_html/pruebas/paisajelimpio/
   > wp-content/plugins/external-database-access-using-wp-user/ext_db_aaccess.php
   > on line 180
 * As you say:
 * > I can see that you are trying to connect to your external database using user“
   > admin” and admin has no access to that database. There are few possibilities
   > like the user is not created for your external database OR the user has insufficient
   > permissions.
 * In this case I’m trying to connect to the external database using user “Medina”
   and Medina has no access to that database. But ‘Medina’ is the name os the administrator
   of the WP where I install the plugin, but no the user I put in the ‘External 
   DB setting’ really the user ‘Medina’ don’t exits in the external DB, the user
   that exist is the is the user I put in the ‘External DB setting’. What I’m doing
   wrong?
 * Thkas for your effort
 *  Plugin Author [Sandip S Salunke](https://wordpress.org/support/users/sandysalunke/)
 * (@sandysalunke)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/just-activated-plugin-error/#post-5770474)
 * Hi ulises2010,
 * Please try to understand the plugin behaviour through below steps.
 * 1. When you install “External DB Connect” plugin, you can see the settings page
   in your WP admin panel.
    2. You should have access to the external database you
   are trying to connect, say you have “root” user with all privileges, which will
   be used by the plugin to perform operations. 3. Enter all the required details
   on settings page. Note here you have to enter user=”root” and password=”PASSWORD_FOR_USER_root”
   along with other details like host name, privileges to be given to end users 
   to access data from database. 4. Whenever a new user (End User) is created OR
   existing user is edited in WP, plugin will create a fresh user in your “External
   Database” with WP Username and Password with given privileges (permissions). 
   5. That’s it, now the user is ready to access the data from your “External Database”.
 * **Note:** Here you need a user which will be used by plugin to deal with your“
   External Database”. And plugin will handle rest of the things. Also make sure,
   if you are installing “External DB Connect” on existing WP site having active
   users, then you have to edit all the users explicitly. No worries for upcoming(
   new) users.
 * I hope this may help. Please feel free to ask if you have any queries.
 * Regrds
    Sandip S
 *  Plugin Author [Sandip S Salunke](https://wordpress.org/support/users/sandysalunke/)
 * (@sandysalunke)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/just-activated-plugin-error/#post-5770475)
 * Hi ulises2010,
 * I believe you are doing well.
 * I have gone through the problem you are facing, please check with below details
   which will help you to resolve the same.
 * It seems that you are trying to connect to your external database with the user(
   Medina) which is not exist in your external database OR it may do not have sufficient
   permissions to perform actions on your external database. Please make sure that
   you should have user in your external database with below details.
 * Username: Medina (Your WP admin username)
 * Password: ********** (Your WP admin password)
 * privileges: All privileges
 * Note: Please enter the same username and password in plugin settings page in 
   your WP admin panel.
 * Additional Information: Please try to understand the plugin behavior through 
   below steps.
 * 1. When you install “External DB Connect” plugin, you can see the settings page
   in your WP admin panel.
    2. You should have access to the external database you
   are trying to connect, say you have “root” user with all privileges, which will
   be used by the plugin to perform operations. 3. Enter all the required details
   on settings page. Note here you have to enter user=”root” and password=”PASSWORD_FOR_USER_root”
   along with other details like host name, privileges to be given to end users 
   to access data from database. 4. Whenever a new user (End User) is created OR
   existing user is edited in WP, plugin will create a fresh user in your “External
   Database” with WP Username and Password with given privileges (permissions). 
   5. That’s it, now the user is ready to access the data from your “External Database”.
 * Note: Here you need a user which will be used by plugin to deal with your “External
   Database”. And plugin will handle rest of the things. Also make sure, if you 
   are installing “External DB Connect” on existing WP site having active users,
   then you have to edit all the users explicitly. No worries for upcoming (new)
   users.
 * I hope this may help. Please feel free to ask if you have any queries.
 * Thanks for using plugin and reporting an issue.
 * Regards
    Sandip S
 *  Plugin Author [Sandip S Salunke](https://wordpress.org/support/users/sandysalunke/)
 * (@sandysalunke)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/just-activated-plugin-error/#post-5770476)
 * Hi,
 * I have made few changes to the plugin source code to resolve this issue. Please
   reinstall the “External DB Connect” and enjoy the plugin..!!
 * Regards
    Sandip

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Just activated plugin -error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/external-database-access-using-wp-
   user.svg)
 * [External DB Connect.](https://wordpress.org/plugins/external-database-access-using-wp-user/)
 * [Support Threads](https://wordpress.org/support/plugin/external-database-access-using-wp-user/)
 * [Active Topics](https://wordpress.org/support/plugin/external-database-access-using-wp-user/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-database-access-using-wp-user/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-database-access-using-wp-user/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Sandip S Salunke](https://wordpress.org/support/users/sandysalunke/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/just-activated-plugin-error/#post-5770476)
 * Status: resolved