Categories
· Show all categories
· New Customer FAQs
· E-Mail
· FTP - File Transfers
· Domains
· SSH and Telnet
· Scripting Languages
· Password Protection
· MySQL
· Stats
· Power Tools
· FAQ Home
· EchoEcho+ Support
|
MySQL: How do I connect to mySQL with php?
|
If your username is "testuser" and your mySQL password is "test2test" you can connect to your databases like this:
$link = mysql_pconnect("localhost","testuser","test2test");
You can learn more about php's mySQL functions at:
http://php.net/manual/en/ref.mysql.php
You can read the official MySQL tutorial at:
http://www.mysql.com/documentation/mysql/bychapter/manual_Tutorial.html
MySQL FAQ's are avilable at:
http://www.faqts.com/knowledge_base/index.phtml/fid/52
Last update: 12.07.2009, 21:19 Author: EchoEcho Support
|
You cannot comment on this entry | Content Overview: MySQL
|
|
|