Add the 16 char username truncate fix to the update script too

This commit is contained in:
james 2011-01-03 17:17:18 +00:00
parent 79513c6d29
commit afc836e214

View File

@ -19,6 +19,8 @@ else
exit; exit;
} }
//same fix here for mysql 5.1 not truncating the 16 char usernames
$DBUSER=substr($DBUSER,0,16);
mysql_connect($DBHOST,$DBUSER,$DBPASS); mysql_connect($DBHOST,$DBUSER,$DBPASS);
mysql_select_db($DBNAME); mysql_select_db($DBNAME);