RE: MySQL/PHPMyAdmin on FC3 Connection Problem

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

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux