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
c2a65cde
Commit
c2a65cde
authored
Oct 27, 2012
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix debian/ubuntu startup scripts
parent
8a75e15c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
debian/dist/Debian/control
debian/dist/Debian/control
+1
-1
debian/dist/Debian/mariadb-server-10.0.postinst
debian/dist/Debian/mariadb-server-10.0.postinst
+3
-3
debian/dist/Ubuntu/mariadb-server-10.0.postinst
debian/dist/Ubuntu/mariadb-server-10.0.postinst
+3
-3
No files found.
debian/dist/Debian/control
View file @
c2a65cde
...
...
@@ -98,7 +98,7 @@ Architecture: any
Depends
:
mariadb
-
common
,
libmariadbclient18
(>=
${
source
:
Version
}),
${
shlibs
:
Depends
},
${
misc
:
Depends
}
Provides
:
mysql
-
client
-
core
,
mysql
-
client
-
core
-
5.1
,
mysql
-
client
-
core
-
10.0
Conflicts
:
mysql
-
client
(<<
5.0.51
),
mysql
-
client
-
5.0
,
mysql
-
client
-
5.1
,
mysql
-
client
-
5.5
,
mysql
-
client
-
5.1
(<<
${
source
:
Version
}),
mysql
-
client
-
5.5
(<<
${
source
:
Version
})
,
mysql
-
client
-
core
-
5.1
,
mysql
-
client
-
core
-
5.5
,
mariadb
-
client
-
5.1
,
mariadb
-
client
-
core
-
5.1
,
mariadb
-
client
-
5.2
,
mariadb
-
client
-
core
-
5.2
,
...
...
debian/dist/Debian/mariadb-server-10.0.postinst
View file @
c2a65cde
...
...
@@ -191,10 +191,10 @@ EOF
# update privilege tables
password_column_fix_query
=
`
/bin/echo
-e
\
"USE mysql
\n
"
\
"ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL
"
`
;
"USE mysql
;
\n
"
\
"ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL
;"
`
replace_query
=
`
/bin/echo
-e
\
"USE mysql
\n
"
\
"USE mysql
;
\n
"
\
"SET sql_mode='';
\n
"
\
"REPLACE INTO user SET "
\
" host='localhost', user='debian-sys-maint', password=password('
$pass
'), "
\
...
...
debian/dist/Ubuntu/mariadb-server-10.0.postinst
View file @
c2a65cde
...
...
@@ -192,10 +192,10 @@ EOF
# update privilege tables
password_column_fix_query
=
`
/bin/echo
-e
\
"USE mysql
\n
"
\
"ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL
"
`
;
"USE mysql
;
\n
"
\
"ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL
;"
`
replace_query
=
`
/bin/echo
-e
\
"USE mysql
\n
"
\
"USE mysql
;
\n
"
\
"SET sql_mode='';
\n
"
\
"REPLACE INTO user SET "
\
" host='localhost', user='debian-sys-maint', password=password('
$pass
'), "
\
...
...
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