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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
50e8ba04
Commit
50e8ba04
authored
Apr 28, 2006
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql.spec.sh:
Include and run mysql_upgrade if needed (bug#19353)
parent
dd2165f6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+10
-1
No files found.
support-files/mysql.spec.sh
View file @
50e8ba04
...
@@ -488,9 +488,12 @@ usermod -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
...
@@ -488,9 +488,12 @@ usermod -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true
# owns all database files.
# owns all database files.
chown
-R
%
{
mysqld_user
}
:%
{
mysqld_group
}
$mysql_datadir
chown
-R
%
{
mysqld_user
}
:%
{
mysqld_group
}
$mysql_datadir
# Initiate databases
# Initiate databases
if needed
%
{
_bindir
}
/mysql_install_db
--rpm
--user
=
%
{
mysqld_user
}
%
{
_bindir
}
/mysql_install_db
--rpm
--user
=
%
{
mysqld_user
}
# Upgrade databases if needed
%
{
_bindir
}
/mysql_upgrade
--user
=
%
{
mysqld_user
}
# Change permissions again to fix any new files.
# Change permissions again to fix any new files.
chown
-R
%
{
mysqld_user
}
:%
{
mysqld_group
}
$mysql_datadir
chown
-R
%
{
mysqld_user
}
:%
{
mysqld_group
}
$mysql_datadir
...
@@ -561,6 +564,7 @@ fi
...
@@ -561,6 +564,7 @@ fi
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_multi.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_multi.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_safe.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_safe.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_fix_privilege_tables.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_fix_privilege_tables.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_upgrade.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlhotcopy.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlhotcopy.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlmanager.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqlmanager.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql.server.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql.server.1
*
...
@@ -585,6 +589,7 @@ fi
...
@@ -585,6 +589,7 @@ fi
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_explain_log
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_explain_log
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_fix_extensions
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_fix_extensions
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_fix_privilege_tables
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_fix_privilege_tables
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_upgrade
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlhotcopy
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlhotcopy
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_install_db
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_install_db
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_secure_installation
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_secure_installation
...
@@ -724,6 +729,10 @@ fi
...
@@ -724,6 +729,10 @@ fi
# itself - note that they must be ordered by date (important when
# itself - note that they must be ordered by date (important when
# merging BK trees)
# merging BK trees)
%changelog
%changelog
*
Fri Apr 28 2006 Kent Boortz <kent@mysql.com>
- Install and run
"mysql_upgrade"
*
Sat Apr 01 2006 Kent Boortz <kent@mysql.com>
*
Sat Apr 01 2006 Kent Boortz <kent@mysql.com>
- Set
$LDFLAGS
from
$MYSQL_BUILD_LDFLAGS
- Set
$LDFLAGS
from
$MYSQL_BUILD_LDFLAGS
...
...
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