forked from science-ation/science-ation
Add the 16 char username truncate fix to the update script too
This commit is contained in:
parent
79513c6d29
commit
afc836e214
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user