Database error in mysql

I am receiving the following SQL error when i try to install phpfusion .

Error: Unable to connect with MySQL.
Please ensure your MySQL username and password are correct.

Username and password are correct since i am using phpmyadmin to log in to the database i have created.

Thanks and appreciate any help.

Hi @sandro!

Make sure you’re using localhost as MySQL host :wink:

Yes i am as well

Thanks

Is your issue resolved, then…? :slight_smile:

im afraid not still have the same error.
thanks

Step 3: Database Settings
Please enter your MySQL database access settings.

Database Hostname: localhost
Database Username: sandro
Database Password: ••••••••
Database Name: mrc01
Table Prefix: fusionNlm9N_
Cookie Prefix: fusionq4L5a_

These are my database settings

sandro

Database name and username are wrong.

Copy and paste them from your members area.

1 Like

Which members area please?

000webhost cPanel > Manage database

The members area and then manage database.

Database Hostname: localhost
Database Username: id1753700_sandro
Database Password: ••••••••
Database Name: id1753700_mrc01
Table Prefix: fusionNlm9N_
Cookie Prefix: fusionDXn1j_

Done it as above but still the same

Please change your PHP version to a lower one: cPanel > Settings > General > Change PHP version > 5.6

done it and now the error is
Error: Unable to connect with MySQL database.
The specified MySQL database does not exist.

Can you screenshot the error please?

Ok… Then change your PHP version to PHP 5.3 (it’s the minimum one required by PHP Fusion, however we recommend upper versions for security reasons and php language compatibility)

downgraded phpmyadmin and restarted browser but still same error

Download the script from the developer’s website

Upload the script to your 000webhost account

Once uploaded, right click and extract the script fully.

Now rename the _config.php to config.php

Now visit yoursite.com/setup.php

Make sure all are green

Ensure you have set config.php to 777

On 000webhost.com create your database keeping note of the details

Now once created copy and paste the username, database name into the script install

Once you enter them in the script hit next

If you reach this screen then PHPFusion is unable to be installed on your free hosting account, you’ll need to upgrade if you want to install it.

or

However if you get this screen

You should proceed and follow the instructions as such.

Following the advice delete setup.php

And permissions back to 644 for config.php

1 Like

Thanks a lot for your help, I will do it and if it does not work , i will upgrade.

Again appreciate your help

Sandro