I am web developer and i just wonder Why i can't connect to mysql database on almost all my website with command line (all of theme use cpanel) and when i saw that port 3306 is closed !!
How could i connect theme with mysql command ?
Why mysql port is shown closed ? How it work if it's port is closed ?
Is that something Cpanel do ?
my command is :
mysql -h remoteipaddress -u username -pmypassword -D mydatabase