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
88ae49a4
Commit
88ae49a4
authored
Feb 03, 2014
by
Kent Boortz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#11751526 / Bug#42421 - MYSQL_INSTALL_DB.PL NOT RELOCATABLE ON WINDOWS
Corrected how to find "resolveip"
parent
1db027f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/mysql_install_db.pl.in
scripts/mysql_install_db.pl.in
+3
-3
No files found.
scripts/mysql_install_db.pl.in
View file @
88ae49a4
...
@@ -365,7 +365,7 @@ my $hostname = hostname();
...
@@ -365,7 +365,7 @@ my $hostname = hostname();
my
$resolved
;
my
$resolved
;
if
(
!
$opt
->
{'
cross-bootstrap
'}
and
!
$opt
->
{
rpm
}
and
!
$opt
->
{
force
}
)
if
(
!
$opt
->
{'
cross-bootstrap
'}
and
!
$opt
->
{
rpm
}
and
!
$opt
->
{
force
}
)
{
{
my
$resolveip
;
my
$resolveip
=
"
$extra_bindir
/resolveip
"
;
$resolved
=
`
$resolveip
$hostname
2>&1
`;
$resolved
=
`
$resolveip
$hostname
2>&1
`;
if
(
$?
!=
0
)
if
(
$?
!=
0
)
...
@@ -375,14 +375,14 @@ if ( !$opt->{'cross-bootstrap'} and !$opt->{rpm} and !$opt->{force} )
...
@@ -375,14 +375,14 @@ if ( !$opt->{'cross-bootstrap'} and !$opt->{rpm} and !$opt->{force} )
{
{
error
(
$opt
,
error
(
$opt
,
"
Neither host '
$hostname
' nor 'localhost' could be looked up with
",
"
Neither host '
$hostname
' nor 'localhost' could be looked up with
",
"
$
bindir
/
resolveip
",
"
$resolveip
",
"
Please configure the 'hostname' command to return a correct
",
"
Please configure the 'hostname' command to return a correct
",
"
hostname.
",
"
hostname.
",
"
If you want to solve this at a later stage, restart this script
",
"
If you want to solve this at a later stage, restart this script
",
"
with the --force option
");
"
with the --force option
");
}
}
warning
(
$opt
,
warning
(
$opt
,
"
The host '
$hostname
' could not be looked up with resolveip.
",
"
The host '
$hostname
' could not be looked up with
$
resolveip
.
",
"
This probably means that your libc libraries are not 100 % compatible
",
"
This probably means that your libc libraries are not 100 % compatible
",
"
with this binary MySQL version. The MySQL daemon, mysqld, should work
",
"
with this binary MySQL version. The MySQL daemon, mysqld, should work
",
"
normally with the exception that host name resolving will not work.
",
"
normally with the exception that host name resolving will not work.
",
...
...
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