MySQL/PHPMyAdmin on FC3 Connection Problem

Craig Thomas cjtinhp at optonline.net
Thu Aug 11 21:22:56 UTC 2005


On Thu, 2005-08-11 at 13:03 -0700, Shadow wrote:
> 
> $cfg['Servers'][$i]['auth_type']     = 'cookie';    // Authentication

Should be [if you want the password you've provided to be used]:

$cfg['Servers'][$i]['auth_type']     = 'config';    // Authentication

That's all I see.  

Another question if that doesn't help, can you access mysqlserver from a
regular php file?

<?php
// Connecting, selecting database
$link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password')
   or die('Could not connect: ' . mysql_error());
echo 'Connected successfully';
mysql_select_db('my_database') or die('Could not select database');
?>

--Craig




More information about the fedora-list mailing list