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
9f5e564f
Commit
9f5e564f
authored
Jan 04, 2002
by
heikki@donna.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os0file.c:
Add better error message if access rights are wrong
parent
1a360124
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
innobase/os/os0file.c
innobase/os/os0file.c
+9
-0
No files found.
innobase/os/os0file.c
View file @
9f5e564f
...
...
@@ -178,6 +178,11 @@ os_file_get_last_error(void)
"InnoDB: The error means the system cannot find the path specified.
\n
"
"InnoDB: In installation you must create directories yourself, InnoDB
\n
"
"InnoDB: does not create them.
\n
"
);
}
else
if
(
err
==
ERROR_ACCESS_DENIED
)
{
fprintf
(
stderr
,
"InnoDB: The error means mysqld does not have the access rights to
\n
"
"InnoDB: the directory. It may also be you have created a subdirectory
\n
"
"InnoDB: of the same name as a data file.
\n
"
);
}
else
{
fprintf
(
stderr
,
"InnoDB: Look from section 13.2 at http://www.innodb.com/ibman.html
\n
"
...
...
@@ -208,6 +213,10 @@ os_file_get_last_error(void)
"InnoDB: The error means the system cannot find the path specified.
\n
"
"InnoDB: In installation you must create directories yourself, InnoDB
\n
"
"InnoDB: does not create them.
\n
"
);
}
else
if
(
err
==
EACCES
)
{
fprintf
(
stderr
,
"InnoDB: The error means mysqld does not have the access rights to
\n
"
"InnoDB: the directory.
\n
"
);
}
else
{
fprintf
(
stderr
,
"InnoDB: Look from section 13.2 at http://www.innodb.com/ibman.html
\n
"
...
...
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