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
0eddb07f
Commit
0eddb07f
authored
Feb 06, 2005
by
petr@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup fixes
parent
1815de7b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
support-files/Makefile.am
support-files/Makefile.am
+1
-0
support-files/my.cnf
support-files/my.cnf
+2
-0
support-files/mysql.server.sh
support-files/mysql.server.sh
+4
-1
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+3
-7
No files found.
support-files/Makefile.am
View file @
0eddb07f
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
EXTRA_DIST
=
mysql.spec.sh
\
EXTRA_DIST
=
mysql.spec.sh
\
my-small.cnf.sh
\
my-small.cnf.sh
\
my.cnf
\
my-medium.cnf.sh
\
my-medium.cnf.sh
\
my-large.cnf.sh
\
my-large.cnf.sh
\
my-huge.cnf.sh
\
my-huge.cnf.sh
\
...
...
support-files/my.cnf
0 → 100644
View file @
0eddb07f
[mysqld]
port=3307
support-files/mysql.server.sh
View file @
0eddb07f
...
@@ -136,6 +136,9 @@ else
...
@@ -136,6 +136,9 @@ else
esac
esac
fi
fi
user
=
@MYSQLD_USER@
USER_OPTION
=
"--user=
$user
"
# Safeguard (relative paths, core dumps..)
# Safeguard (relative paths, core dumps..)
cd
$basedir
cd
$basedir
...
@@ -147,7 +150,7 @@ case "$mode" in
...
@@ -147,7 +150,7 @@ case "$mode" in
then
then
# Give extra arguments to mysqlmanager with the my.cnf file. This script may
# Give extra arguments to mysqlmanager with the my.cnf file. This script may
# be overwritten at next upgrade.
# be overwritten at next upgrade.
$sbindir
/mysqlmanager
"--pid-file=
$pid_file
"
--run-as-service
>
/dev/null 2>&1 &
$sbindir
/mysqlmanager
"--pid-file=
$pid_file
"
$USER_OPTION
--run-as-service
>
/dev/null 2>&1 &
# Make lock for RedHat / SuSE
# Make lock for RedHat / SuSE
if
test
-w
/var/lock/subsys
if
test
-w
/var/lock/subsys
then
then
...
...
support-files/mysql.spec.sh
View file @
0eddb07f
...
@@ -362,8 +362,9 @@ install -s -m755 $MBD/sql/mysqld-max $RBR%{_sbindir}/mysqld-max
...
@@ -362,8 +362,9 @@ install -s -m755 $MBD/sql/mysqld-max $RBR%{_sbindir}/mysqld-max
install
-m644
$MBD
/sql/mysqld-max.sym
$RBR
%
{
_libdir
}
/mysql/mysqld-max.sym
install
-m644
$MBD
/sql/mysqld-max.sym
$RBR
%
{
_libdir
}
/mysql/mysqld-max.sym
install
-m644
$MBD
/sql/mysqld.sym
$RBR
%
{
_libdir
}
/mysql/mysqld.sym
install
-m644
$MBD
/sql/mysqld.sym
$RBR
%
{
_libdir
}
/mysql/mysqld.sym
# Install logrotate
and autostart
# Install logrotate
, autostart and config file
install
-m644
$MBD
/support-files/mysql-log-rotate
$RBR
%
{
_sysconfdir
}
/logrotate.d/mysql
install
-m644
$MBD
/support-files/mysql-log-rotate
$RBR
%
{
_sysconfdir
}
/logrotate.d/mysql
install
-m644
$MBD
/support-files/my.cnf
$RBR
%
{
_sysconfdir
}
/my.cnf
install
-m755
$MBD
/support-files/mysql.server
$RBR
%
{
_sysconfdir
}
/init.d/mysql
install
-m755
$MBD
/support-files/mysql.server
$RBR
%
{
_sysconfdir
}
/init.d/mysql
# Create a symlink "rcmysql", pointing to the init.script. SuSE users
# Create a symlink "rcmysql", pointing to the init.script. SuSE users
...
@@ -374,10 +375,6 @@ ln -s %{_sysconfdir}/init.d/mysql $RPM_BUILD_ROOT%{_sbindir}/rcmysql
...
@@ -374,10 +375,6 @@ ln -s %{_sysconfdir}/init.d/mysql $RPM_BUILD_ROOT%{_sbindir}/rcmysql
# (safe_mysqld will be gone in MySQL 4.1)
# (safe_mysqld will be gone in MySQL 4.1)
ln
-sf
./mysqld_safe
$RBR
%
{
_bindir
}
/safe_mysqld
ln
-sf
./mysqld_safe
$RBR
%
{
_bindir
}
/safe_mysqld
# Touch the place where the my.cnf config file might be located
# Just to make sure it's in the file list and marked as a config file
touch
$RBR
%
{
_sysconfdir
}
/my.cnf
%pre server
%pre server
# Shut down a previously installed server first
# Shut down a previously installed server first
if
test
-x
%
{
_sysconfdir
}
/init.d/mysql
if
test
-x
%
{
_sysconfdir
}
/init.d/mysql
...
@@ -486,8 +483,6 @@ fi
...
@@ -486,8 +483,6 @@ fi
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/perror.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/perror.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/replace.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/replace.1
*
%ghost %config
(
noreplace,missingok
)
%
{
_sysconfdir
}
/my.cnf
%attr
(
755, root, root
)
%
{
_bindir
}
/my_print_defaults
%attr
(
755, root, root
)
%
{
_bindir
}
/my_print_defaults
%attr
(
755, root, root
)
%
{
_bindir
}
/myisamchk
%attr
(
755, root, root
)
%
{
_bindir
}
/myisamchk
%attr
(
755, root, root
)
%
{
_bindir
}
/myisam_ftdump
%attr
(
755, root, root
)
%
{
_bindir
}
/myisam_ftdump
...
@@ -520,6 +515,7 @@ fi
...
@@ -520,6 +515,7 @@ fi
%attr
(
644, root, root
)
%
{
_libdir
}
/mysql/mysqld.sym
%attr
(
644, root, root
)
%
{
_libdir
}
/mysql/mysqld.sym
%attr
(
644, root, root
)
%config
(
noreplace,missingok
)
%
{
_sysconfdir
}
/logrotate.d/mysql
%attr
(
644, root, root
)
%config
(
noreplace,missingok
)
%
{
_sysconfdir
}
/logrotate.d/mysql
%attr
(
644, root, root
)
%config
(
noreplace,missingok
)
%
{
_sysconfdir
}
/my.cnf
%attr
(
755, root, root
)
%
{
_sysconfdir
}
/init.d/mysql
%attr
(
755, root, root
)
%
{
_sysconfdir
}
/init.d/mysql
%attr
(
755, root, root
)
%
{
_datadir
}
/mysql/
%attr
(
755, root, root
)
%
{
_datadir
}
/mysql/
...
...
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