Community

Cannot access dbmysql

an
angkatan20.kelas.c #1

A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (HY000/2002): No route to host

Filename: mysqli/mysqli_driver.php

jo
josephgodwinke #2

Welcome @angkatan20.kelas.c Happy you are here

Seems you are using incorrect database settings regarding the mariadb ip address you have set. Post a screenshot of the database settings your are using on your website

jo
josephgodwinke #4

This is CyberPanel community. If you want help with cpanel kindly check out their forums and raise this issue there.

If you meant to say CyberPanel kindly post a screenshot of where you are getting this error

jo
josephgodwinke #8

I will assume all mysql databases using prefix dev_lab are all hosted in that server. And I see you are consuming a database with same prefix in link below.

You should use localhost as the hostname not the ip of your server here Cannot access dbmysql - #7 by angkatan20.kelas.c in your config/database.php (codeigniter website)

Sign in to reply