A MySQL database has two key components; a database user and the database itself. The user connects to the database in order to complete the tasks you (or your script) asks of it.

Creating Databases

Full instructions for creating databases can be found in said section of our documentation.

Host

The database host is an easy one:

localhost
Was this answer helpful? 0 Users Found This Useful (8 Votes)