Re: Re: Install PHPMyAdmin with urpmi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use follow codes for test your php,php_mysql is work well.
use your ip replace localhost,your mysql port replace 3306 and
username,password to replace mysql_user, mysql_password.
<?php
error_reporting(2047);
ini_set("display_error","On");
if(mysql_connect('localhost:3306', 'mysql_user', 'mysql_password')){
    echo "Ok";
}else{
    echo "Failed";
}
?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux