Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have fatal error #21

Open
luci01881 opened this issue Jul 8, 2023 · 1 comment
Open

I have fatal error #21

luci01881 opened this issue Jul 8, 2023 · 1 comment

Comments

@luci01881
Copy link

No matter what I do I get this error:

Fatal error: Uncaught mysqli_sql_exception: No connection could be made because the target machine actively refused it in C:\xampp\htdocs\includes\dbh.inc.php:8 Stack trace: #0 C:\xampp\htdocs\includes\dbh.inc.php(8): mysqli_connect('217.195.197.56', 'ugur', Object(SensitiveParameterValue), 'klik_database', 3307) #1 C:\xampp\htdocs\index.php(5): include_once('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\includes\dbh.inc.php on line 8

@bethropolis
Copy link

bethropolis commented Jul 11, 2023

Here are some steps you can take to resolve the issue:

  1. Check if the database server is running (most likely)

  2. Ensure your software versions fit the ones mentioned in the ReadME

  3. Double-check the login credentials you are using to connect to the database server. Make sure that the username, password, and database name are correct.

  4. Make sure that you are using the correct port number to connect to the database server. The default port number for MySQL is 3306, but it could be different if you have changed it.

  5. Check the firewall settings (rarely the case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants