CodeIgniter Forums
IIS + PHP - Cannot connect to MySQL 4.1+ using old authentication - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: IIS + PHP - Cannot connect to MySQL 4.1+ using old authentication (/showthread.php?tid=60650)



IIS + PHP - Cannot connect to MySQL 4.1+ using old authentication - El Forum - 05-20-2014

[eluser]Unknown[/eluser]
I'm with a big problem here. I'm integrating an interface I've done using Codeigniter with an external Mysql Database. The thing is that I'm getting "Cannot connect to MySQL 4.1+ using old authentication" error. Yes, I've looked over the internet and found steps to solve it once we have admin rights to the database. The thing is that I have a ready-only access.

Can I do something to connect to this database? Just to let you know, I'm not using a Linux Server, I'm using a Windows Server with IIS, and to be honest, I'm not very used to it.

These are the parameters I'm using to try to connect:

$db['otrs']['hostname'] = 'test.test.lan';
$db['otrs']['username'] = 'otrs';
$db['otrs']['password'] = 'otrs';
$db['otrs']['database'] = 'otrs';
$db['otrs']['dbdriver'] = 'mysql';
$db['otrs']['dbprefix'] = '';
$db['otrs']['pconnect'] = TRUE;
$db['otrs']['db_debug'] = TRUE;
$db['otrs']['cache_on'] = FALSE;
$db['otrs']['cachedir'] = '';
$db['otrs']['char_set'] = 'utf8';
$db['otrs']['dbcollat'] = 'utf8_general_ci';
$db['otrs']['swap_pre'] = '';
$db['otrs']['autoinit'] = TRUE;
$db['otrs']['stricton'] = FALSE;
If you need more info, just let me know.

Thank you very much!