Hi! I'm currently done with a program to upload data to my database on directadmin, it works like a charm with xampp. But now when i'm trying to connect it to my database on directadmin it just shows "Failed to connect to any of the mysql hosts". It's weird because i added % to directadmin hosts so all ip's should be able to connect to it. My php site can interact with the database. So please can anyone help me? I'm using the usual "server=***.***.***.***;Password=****;Database=****;" Even tried adding port=3306.