How should my CGI programs connect to the MySQL server?
When a CGI program uses a MySQL database, the configuration files often ask whether the program should connect to localhost or a remote machine. If possible, choose localhost. If you are told to specify a host and port for the MySQL server, use cgi.ccs.neu.edu as the host and 3306 (the default) as the port.