My account is paid. I created a connection from an external server by DBBl.php file the class (tested with other db in localhost and works fine):
class DBBl {
private $host = 'username.mysql.eu.pythonanywhere-services.com';
private $user = 'username';
private $password = 'pw';
private $database = 'mydb';
private $conn;
....
I wanted to connect to the mydb database on the PythonAntwhere server but error occurred: Warning: mysqli_connect(): (HY000/2002)
Some help? Thanks ! Giuse
[edit by admin: formatting]