How PHP connects to the MySQL database of the shipping process
$con =mysql_connect ("Test121106.ec666.net", "test121106", "Dkfnemtg23");
This is not going to work, how should I write this statement?
The known information has these
FTP Domain ip:182.236.163.57
FTP Domain port: 21
FTP account: test121106
FTP Password: Dkfnemtg23
MySQL address: localhost
MySQL Account: test121106
MySQL Password: Dkfnemtg23
Test121106.ec666.net
Http://phpadmin.ec666.net
------Solution--------------------
MySQL address: localhost
??
------Solution--------------------
Navicat for MySQL
------Solution--------------------
$con =mysql_connect ("182.236.163.57:21", "test121106", "Dkfnemtg23");
------Solution--------------------
MySQL database authorization required for remote connection to MySQL database
------Solution--------------------
references :
references: Never do things that can't be done
After you have written the code, pass it through the FTP. You can do it.
Most Ides now support site uploads
Interview my boss says you need to complete the test on this database (some database operations such as creating tables)
Didn't give you phpadmin's login address? If this is the only operation. why = Not write code is not