When configuring scripts/software locally, the MySQL hostname will be: localhostIf you are connecting to a remote MySQL server then you will need to use the IP for that machine.