Jump to content

connecting to database


ball420

Recommended Posts

you could go into your MySQL DOS box and simply type in your password then enter the following:

 

use [database name];

 

then do what you wish.

 

Or if you working with PHP, do something like:

 

$conn=mysql_connect("localhost", "[username]", "[password]");
mysql_select_db("[database name]", $conn);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.