10-17-2010, 06:28 PM
10-17-2010, 08:36 PM
Did you install the mySQL?
Then do mysqli_connect() test(had to google the exact code)
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
printf("Host information: %s\n", $mysqli->host_info);
/* close connection */
$mysqli->close();
?>
Then do mysqli_connect() test(had to google the exact code)
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* check connection */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
printf("Host information: %s\n", $mysqli->host_info);
/* close connection */
$mysqli->close();
?>
10-19-2010, 03:31 PM
Yes mysql is installed, i think i need to install mysqli.
10-20-2010, 08:39 AM
(10-19-2010, 03:31 PM)Kaleb Wrote: [ -> ]Yes mysql is installed, i think i need to install mysqli.
Make sure MySQLi is in fact not present. The easiest way to do this is check the output of phpinfo (). Just do a search for "mysqli", it should be directly under your MySQL configuration data. If it isn't present then you'll need to install the extension. To do so you need to recompile PHP with MySQLi configured. You can find directions to do so here.
10-27-2010, 08:09 PM
you can re-install if it is error based but I dont beleive their is a problem...
Do what Disease said
Do what Disease said