my client side files are in one server and server side codes and the mysql in one
on my client side files config i see the below
$config["db_host"] = "mysevercodessideIP"; $config["db_user"] = "myuser"; $config["db_pass"] = "mypassword"; $config["db_name"] = "myDBName";
i get the error
MySQL Error:Can't connect to local MySQL server through socket '/var/run/mysqld/mysql but i looked st the server side codes and they connect below way
jdbc:mysql://localhost/myDBName?user=myuser&password=mypassword what do you think is wrong?