Quote:
|
You first connect to MySQL using your user.
|
I got the first part when you say connect to MySQL, alright, that one is with the username and password at the first time I setup MySQL.
Quote:
|
Since the user can access a number of databases, you must then tell MySQL which database you want to use (this user must have access to that database). After you have connected and indicated the database you can then perform operations on the selected database (such as creating a table).
|
I don't really get this, can you give me some example? Are you talking about schema? Ok, so $hostname is the database (the first step that told me), and then we have to choose which schema to use right? So, there's no way we can build this? Well, actually I can just run query on my SQL saying
CREATE some_table and it will build the schema (which is probably the database that you're talking about).... And usually I use these tables by using the SELECT query as explained by
molotov