Jump to content

how to start mysql?


nrsh_ram

Recommended Posts

Check out the mysql_* functions in the PHP manual.  You need to establish a connection resource with mysql_connect.

 

$conn = mysql_connect("localhost", "username", "password");

 

Then select the database:

mysql_select_db("forums");

 

Then you can execute queries.

Link to comment
https://forums.phpfreaks.com/topic/109626-how-to-start-mysql/#findComment-562348
Share on other sites

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.