View Single Post
  #9 (permalink)  
Old 07-30-2007, 12:11 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
PT Admin
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,118
iTrader: (0)
HelloWorld is a jewel in the roughHelloWorld is a jewel in the roughHelloWorld is a jewel in the rough
Icon13

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

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote