Hello friends:
I have Xampp installed and running (all ok!). I can connect it by /opt/lampp/bin/mysql -p, I have imported databases files from other server (I'm migrating) and all work fine, I can connect with any user, view tables, etc., but I can't connect through PHP (web way). I get this:
Database Error: Unable to connect to the database:Could not connect to MySQL
This is with all my web-domains that I have hosted. I'm migrating from other server and all configuration, databases, domains, webs... all is cloned. In my other server all works fine (Xampp - Mysql - PHP - Apache), but here in new server I only can connect through linux console.
I try: telnet localhost 3306 and connection is refused. I can't see anything bad on my.cnf file.
Any ideas?.
Thanks!!