Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37879722
en ru br
ALT Linux repos
S:8.0.30-alt2
5.0: 5.0.89-alt1
4.1: 5.0.51-alt2.a
4.0: 5.0.51-alt2.a.M40.2
+updates:5.0.51-alt2.a.M40.1
3.0: 4.0.24-alt1

Group :: Databases
RPM: MySQL

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

-- This script fix username length in system tables allowing use User field > 16 chars.
-- Written by Konstantin A. Lepikhov <lakostis@altlinux.org>

-- On unix, you should use the mysql_fix_username_length script to execute
-- this sql script.
-- On windows you should do 'mysql --force mysql < mysql_fix_username_length.sql'

ALTER TABLE db MODIFY User char(@USERNAME_LENGTH@) binary DEFAULT '' NOT NULL;
ALTER TABLE user MODIFY User char(@USERNAME_LENGTH@) binary DEFAULT '' NOT NULL;
ALTER TABLE tables_priv MODIFY User char(@USERNAME_LENGTH@) binary DEFAULT '' NOT NULL;
ALTER TABLE columns_priv MODIFY User char(@USERNAME_LENGTH@) binary DEFAULT '' NOT NULL;
ALTER TABLE procs_priv MODIFY User char(@USERNAME_LENGTH@) binary DEFAULT '' NOT NULL;

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin