91
And you used the same data to fill the fields?
Connecting to the database is a two step process as also indicated in your example:
- First you connect to the MySQL server. for this you need the hostname, username and password.
- Second you select a database to use, with the databasename.
When it fails already in the first step, then there is something wrong with host, user or pasword.
(Are you in need to use another port than standard? Or are you using blank fields?)
I admit that the name of the first selection box is bad choosen. It should be called database type. But that doesn't change functionality.
Try once this modification in order to have more error reporting from the function.
if ( ! ( $link = ($func_connect( $vars['DB_HOST'], $vars['DB_USER'], $vars['DB_PASS'], true ) or die(mysql_error()) ) ) {
Other option is that you do the upgrade of your working 2.0.18 to 2.3.3 as described in the release notes. (do also the file check after the upload).