Page 1 of 1

how to connect mysql

Posted: Fri Nov 18, 2005 5:01 am
by jaylin
tell me how can i connect mysql.
regards,

Posted: Fri Nov 18, 2005 5:26 am
by Jenk
Could you be a little less ambiguous please?

Posted: Fri Nov 18, 2005 5:29 am
by twigletmac
Moved to the Databases forum.

Mac

Posted: Fri Nov 18, 2005 5:33 am
by foobar
Guess what...? The PHP Manual has your answer right there. One click away.

Posted: Fri Nov 18, 2005 9:34 pm
by jaylin
when i see the manual, i dun know how to do that:

Requirements

In order to have these functions available, you must compile PHP with support for the mysqli extension.

Note: The mysqli extension is designed to work with the version 4.1.3 or above of MySQL. For previous versions, please see the MySQL extension documentation.

Installation

To install the mysqli extension for PHP, use the --with-mysqli=mysql_config_path/mysql_config configuration option where mysql_config_path represents the location of the mysql_config program that comes with MySQL versions greater than 4.1.


plz help me
foobar wrote:Guess what...? The PHP Manual has your answer right there. One click away.

Posted: Sat Nov 19, 2005 3:08 am
by m3mn0n
Are you looking to install the MySQL software on a server, or are you looking to connect to MySQL within a PHP script? Or both?

Posted: Sat Nov 19, 2005 6:50 am
by twigletmac
Plus what versions of PHP and MySQL do you have?

Mac