I am running FREESCO 0.3.4
This is my system reporthttp://www.schultze.nu/report.txt
On my inside LAN I have a MYSQL 5.5 running and this I would like to access from my Apache in FREESCO.
I would be happy if I could send some PHP to MYSQL to access the DB:s running there but I have not figured how to jet?
I have changed the php.ini and added the MYSQL server.
Then tried to do a php-script to see if there is any connection
I found this script
- Code: Select all
<?php
// we connect to example.com and port 3307
$link = mysql_connect('mysql.inet:3306', 'root', 'MySecretPassWORD!!');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
// we connect to localhost at port 3307
$link = mysql_connect('127.0.0.1:3307', 'mysql_user', 'mysql_password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
The return form my FREESCO is
Could not connect: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Can some one perhatps tell me what I am doing wrong?
Is this possibel?
What do I need to change?
Do I need change the port on my FREESCO to admit the 3306 to MYSQL?
I have added this also
http://www.schultze.nu/php/phpinfo.php
