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
bb9d7bfc
Commit
bb9d7bfc
authored
Mar 02, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create directory for UNIX socket in mysqld_safe if it doesn't already exist.
(Bug #8513)
parent
89d44e03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
scripts/mysqld_safe.sh
scripts/mysqld_safe.sh
+9
-0
No files found.
scripts/mysqld_safe.sh
View file @
bb9d7bfc
...
...
@@ -150,6 +150,15 @@ parse_arguments `$print_defaults $defaults --loose-verbose mysqld_safe safe_mysq
parse_arguments PICK-ARGS-FROM-ARGV
"
$@
"
safe_mysql_unix_port
=
${
mysql_unix_port
:-${
MYSQL_UNIX_PORT
:-
@MYSQL_UNIX_ADDR@
}}
# Make sure that directory for $safe_mysql_unix_port exists
mysql_unix_port_dir
=
`
dirname
$safe_mysql_unix_port
`
if
[
!
-d
$mysql_unix_port_dir
]
then
mkdir
$mysql_unix_port_dir
chown
$user
$mysql_unix_port_dir
fi
if
test
!
-x
$ledir
/
$MYSQLD
then
echo
"The file
$ledir
/
$MYSQLD
doesn't exist or is not executable"
...
...
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