Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
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
certo
mariadb
Commits
22f620f2
Commit
22f620f2
authored
Apr 07, 2019
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed mysql config directory location and generation of initial database
parent
7417bdd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Makefile
Makefile
+2
-2
No files found.
Makefile
View file @
22f620f2
...
@@ -29,7 +29,7 @@ all: my-cnf mariadb-config
...
@@ -29,7 +29,7 @@ all: my-cnf mariadb-config
tar
xf
mariadb-10.3.13.tar.gz
tar
xf
mariadb-10.3.13.tar.gz
cd
mariadb-10.3.13
&&
sed
-i
"s@data/test@\$${INSTALL_MYSQLTESTDIR}@g"
sql/CMakeLists.txt
cd
mariadb-10.3.13
&&
sed
-i
"s@data/test@\$${INSTALL_MYSQLTESTDIR}@g"
sql/CMakeLists.txt
mkdir
mariadb-10.3.13/build
mkdir
mariadb-10.3.13/build
cd
mariadb-10.3.13/build
&&
cmake
-DCMAKE_BUILD_TYPE
=
Release
-DINSTALL_LAYOUT
=
DEB
-DWITH_EXTRA_CHARSETS
=
complex
-DSKIP_TESTS
=
ON
-DTOKUDB_OK
=
0
-DWITH_WSREP
=
ON
-DWITH_INNODB_DISALLOW_WRITES
=
ON ..
cd
mariadb-10.3.13/build
&&
cmake
-DCMAKE_BUILD_TYPE
=
Release
-DINSTALL_LAYOUT
=
DEB
-D
INSTALL_SYSCONF2DIR
=
/etc/my.cnf.d
-D
WITH_EXTRA_CHARSETS
=
complex
-DSKIP_TESTS
=
ON
-DTOKUDB_OK
=
0
-DWITH_WSREP
=
ON
-DWITH_INNODB_DISALLOW_WRITES
=
ON ..
$(MAKE)
-C
mariadb-10.3.13/build
$(MAKE)
-C
mariadb-10.3.13/build
$(MAKE)
-C
mariadb-10.3.13/build
test
$(MAKE)
-C
mariadb-10.3.13/build
test
$(MAKE)
-C
mariadb-10.3.13/build
install
$(MAKE)
-C
mariadb-10.3.13/build
install
...
@@ -47,7 +47,7 @@ all: my-cnf mariadb-config
...
@@ -47,7 +47,7 @@ all: my-cnf mariadb-config
install
-v
-Dm644
mysqlchk.socket
/lib/systemd/system/mysqlchk.socket
install
-v
-Dm644
mysqlchk.socket
/lib/systemd/system/mysqlchk.socket
install
-v
-Dm644
mysqlchk@.service
/lib/systemd/system/mysqlchk@.service
install
-v
-Dm644
mysqlchk@.service
/lib/systemd/system/mysqlchk@.service
systemctl
enable
mysqlchk.socket
systemctl
enable
mysqlchk.socket
mysql_install_db
--basedir
=
/usr
--user
=
mysql
--skip-test-db
mysql_install_db
--basedir
=
/usr
--user
=
mysql
--skip-test-db
--innodb-log-file-size
=
32M
sed
-e
'/^UserParameter=device\.product.*/a UserParameter=mysql.version,mysql -V'
-i
/etc/zabbix_agentd.conf
sed
-e
'/^UserParameter=device\.product.*/a UserParameter=mysql.version,mysql -V'
-i
/etc/zabbix_agentd.conf
sed
-e
'/^UserParameter=device\.product.*/a UserParameter=mysql.ping,mysqladmin -u root ping | grep -c alive'
-i
/etc/zabbix_agentd.conf
sed
-e
'/^UserParameter=device\.product.*/a UserParameter=mysql.ping,mysqladmin -u root ping | grep -c alive'
-i
/etc/zabbix_agentd.conf
sed
-e
'/^UserParameter=device\.product.*/a UserParameter=mysql.size[*],bash -c '
\
''
echo
"select sum($$(case "
$$3
" in both|"") echo "
data_length+index_length
";; data|index) echo "
$$3_length
";; free) echo "
data_free
";; esac)) from information_schema.tables$$([[ "
$$1
" = "
all
" || ! "
$$1
" ]] || echo "
where
table_schema
=
\\
"
$$
1
\\
"")
$$
([[ "
$$
2
" = "
all
" || ! "
$$
2
" ]] || echo "
and
table_name
=
\\
"
$$
2
\\
"");"
| mysql
-u
root
-N
'\'''
-i
/etc/zabbix_agentd.conf
sed
-e
'/^UserParameter=device\.product.*/a UserParameter=mysql.size[*],bash -c '
\
''
echo
"select sum($$(case "
$$3
" in both|"") echo "
data_length+index_length
";; data|index) echo "
$$3_length
";; free) echo "
data_free
";; esac)) from information_schema.tables$$([[ "
$$1
" = "
all
" || ! "
$$1
" ]] || echo "
where
table_schema
=
\\
"
$$
1
\\
"")
$$
([[ "
$$
2
" = "
all
" || ! "
$$
2
" ]] || echo "
and
table_name
=
\\
"
$$
2
\\
"");"
| mysql
-u
root
-N
'\'''
-i
/etc/zabbix_agentd.conf
...
...
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