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
a4c95a18
Commit
a4c95a18
authored
Jun 28, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-main
parents
7279446f
1e22a12d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
16 deletions
+20
-16
scripts/Makefile.am
scripts/Makefile.am
+3
-3
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+1
-1
scripts/mysql_upgrade_shell.sh
scripts/mysql_upgrade_shell.sh
+0
-0
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+16
-12
No files found.
scripts/Makefile.am
View file @
a4c95a18
...
...
@@ -32,7 +32,7 @@ bin_SCRIPTS = @server_scripts@ \
mysqldumpslow
\
mysql_explain_log
\
mysql_tableinfo
\
mysql_upgrade
\
mysql_upgrade
_shell
\
mysqld_multi
\
mysql_create_system_tables
...
...
@@ -60,7 +60,7 @@ EXTRA_SCRIPTS = make_binary_distribution.sh \
mysql_explain_log.sh
\
mysqld_multi.sh
\
mysql_tableinfo.sh
\
mysql_upgrade.sh
\
mysql_upgrade
_shell
.sh
\
mysqld_safe.sh
\
mysql_create_system_tables.sh
...
...
@@ -89,7 +89,7 @@ CLEANFILES = @server_scripts@ \
mysqldumpslow
\
mysql_explain_log
\
mysql_tableinfo
\
mysql_upgrade
\
mysql_upgrade
_shell
\
mysqld_multi
\
make_win_src_distribution
\
mysql_create_system_tables
...
...
scripts/make_binary_distribution.sh
View file @
a4c95a18
...
...
@@ -134,7 +134,7 @@ BIN_FILES="extra/comp_err$BS extra/replace$BS extra/perror$BS \
client/mysql
$BS
client/mysqlshow
$BS
client/mysqladmin
$BS
\
client/mysqldump
$BS
client/mysqlimport
$BS
\
client/mysqltest
$BS
client/mysqlcheck
$BS
\
client/mysqlbinlog
$BS
\
client/mysqlbinlog
$BS
client/mysql_upgrade
$BS
\
tests/mysql_client_test
$BS
\
libmysqld/examples/mysql_client_test_embedded
$BS
\
libmysqld/examples/mysqltest_embedded
$BS
\
...
...
scripts/mysql_upgrade.sh
→
scripts/mysql_upgrade
_shell
.sh
View file @
a4c95a18
File moved
support-files/mysql.spec.sh
View file @
a4c95a18
...
...
@@ -485,17 +485,7 @@ chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir
# Initiate databases if needed
%
{
_bindir
}
/mysql_install_db
--rpm
--user
=
%
{
mysqld_user
}
# Upgrade databases if needed
# This must be done as database user "root", who should be password-protected,
# but this password is not available here.
# So ensure the server is isolated as much as possible, and start it so that
# passwords are not checked.
# See the related change in the start script "/etc/init.d/mysql".
chmod
700
$mysql_datadir
%
{
_sysconfdir
}
/init.d/mysql start
--skip-networking
--skip-grant-tables
%
{
_bindir
}
/mysql_upgrade
%
{
_sysconfdir
}
/init.d/mysql stop
--skip-networking
--skip-grant-tables
chmod
755
$mysql_datadir
# Upgrade databases if needed would go here - but it cannot be automated yet
# Change permissions again to fix any new files.
chown
-R
%
{
mysqld_user
}
:%
{
mysqld_group
}
$mysql_datadir
...
...
@@ -598,6 +588,7 @@ fi
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlbug
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqld_multi
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqld_safe
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqldumpslow
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlhotcopy
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqltest
%attr
(
755, root, root
)
%
{
_bindir
}
/perror
...
...
@@ -628,7 +619,6 @@ fi
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlbinlog
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlcheck
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqldump
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqldumpslow
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlimport
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlshow
...
...
@@ -733,6 +723,20 @@ fi
# itself - note that they must be ordered by date (important when
# merging BK trees)
%changelog
*
Tue Jun 27 2006 Joerg Bruehe <joerg@mysql.com>
- move
"mysqldumpslow"
from the client RPM to the server RPM
(
bug#20216
)
- Revert all previous attempts to call
"mysql_upgrade"
during RPM upgrade,
there are some more aspects which need to be solved before this is possible.
For now, just ensure the binary
"mysql_upgrade"
is delivered and installed.
*
Thu Jun 22 2006 Joerg Bruehe <joerg@mysql.com>
- Close a gap of the previous version by explicitly using
a newly created temporary directory
for
the socket to be used
in
the
"mysql_upgrade"
operation, overriding any
local
setting.
*
Tue Jun 20 2006 Joerg Bruehe <joerg@mysql.com>
- To run
"mysql_upgrade"
, we need a running server
;
...
...
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