Can't connect to DB please reset my permissions:

##URLs
ceskedekorace.shop
ceskedekorace.great-site.net

Error Message

Fatal error : Uncaught mysqli_sql_exception: Access denied for user ‘if0_38180942’@‘192.168.0.187’ (using password: YES) in /home/vol1_1/infinityfree.com/if0_38180942/ceskedekorace.shop/htdocs/db_test.php:7 Stack trace: #0 /home/vol1_1/infinityfree.com/if0_38180942/ceskedekorace.shop/htdocs/db_test.php(7): mysqli->__construct(‘sql207.infinity…’, ‘if0_38180942’, Object(SensitiveParameterValue), ‘if0_38180942_ma…’) #1 {main} thrown in /home/vol1_1/infinityfree.com/if0_38180942/ceskedekorace.shop/htdocs/db_test.php on line 7

Other Information

simple db connection script after having problems with db connection in index.php

Hi and welcome to the forum! Have you read this article already?

3 Likes

Yes I have. Unfortunately, I checked all the credentials and code and it works.

I meant to say it still doesn’t work.

I’m out at the minute. But can you upload your code somewhere like Google docs (remove your password and username) and I’ll take a look when I get in later for you. Db access can be a pain lol

I checked your credentials and they are not correct.

Please make sure to check that ALL credentials match what’s shown EXACTLY. Even a single character being different is the difference between right and wrong credentials.

Specifically, please have a careful look at the database hostname.

4 Likes

Okay.

Me myslef I am an idiot sometimes. Sorry for being stupid and appreciate the help.

Jan

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.