Forum Moderators: phranque
I've been trying to read as much as possible on MySQL.com but they aren't too descriptive.
//list of possible DB engines:
//mysql -> MySQL
//pgsql -> PostgreSQL
//ibase -> InterBase
//msql -> Mini SQL
//mssql -> Microsoft SQL Server
//odbc -> ODBC (Open Database Connectivity
//ifx -> Informix
//fbsql -> FrontBase
$db_engine = 'mysql';
$db_user = 'root';
$db_pass = '';
$db_host = 'localhost';
$db_name = 'My_DB';
$datasource = $db_engine.'://'.
$db_user.':'.
$db_pass.'@'.
$db_host.'/'.
$db_name;
Client does not support authentication protocol error I was able to use the workaround, but I really wouldn't want to have to go through all this in a migration yet in a production environment:
[mysql.com...]
UPDATE mysql.user SET Password = OLD_PASSWORD('[i]password[/i]') WHERE User = '[i]this_user[/i]';