Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4252b11a
Commit
4252b11a
authored
Sep 27, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql.user.password doesn't need utf8
parent
526a1a92
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
scripts/mysql_create_system_tables.sh
scripts/mysql_create_system_tables.sh
+1
-1
scripts/mysql_fix_privilege_tables.sql
scripts/mysql_fix_privilege_tables.sql
+1
-1
No files found.
scripts/mysql_create_system_tables.sh
View file @
4252b11a
...
...
@@ -123,7 +123,7 @@ then
c_u
=
"
$c_u
CREATE TABLE user ("
c_u
=
"
$c_u
Host char(60) binary DEFAULT '' NOT NULL,"
c_u
=
"
$c_u
User char(16) binary DEFAULT '' NOT NULL,"
c_u
=
"
$c_u
Password
char(41) binary
DEFAULT '' NOT NULL,"
c_u
=
"
$c_u
Password
binary(41)
DEFAULT '' NOT NULL,"
c_u
=
"
$c_u
Select_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,"
c_u
=
"
$c_u
Insert_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,"
c_u
=
"
$c_u
Update_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL,"
...
...
scripts/mysql_fix_privilege_tables.sql
View file @
4252b11a
...
...
@@ -156,9 +156,9 @@ alter table columns_priv comment='Column privileges';
ALTER
TABLE
user
MODIFY
Host
char
(
60
)
NOT
NULL
default
''
,
MODIFY
User
char
(
16
)
NOT
NULL
default
''
,
MODIFY
Password
char
(
41
)
NOT
NULL
default
''
,
ENGINE
=
MyISAM
,
CONVERT
TO
CHARACTER
SET
utf8
COLLATE
utf8_bin
;
ALTER
TABLE
user
MODIFY
Password
binary
(
41
)
NOT
NULL
default
''
,
MODIFY
Select_priv
enum
(
'N'
,
'Y'
)
COLLATE
utf8_general_ci
DEFAULT
'N'
NOT
NULL
,
MODIFY
Insert_priv
enum
(
'N'
,
'Y'
)
COLLATE
utf8_general_ci
DEFAULT
'N'
NOT
NULL
,
MODIFY
Update_priv
enum
(
'N'
,
'Y'
)
COLLATE
utf8_general_ci
DEFAULT
'N'
NOT
NULL
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment