[MDEV-7022] mySQLD does not have the access rights to InnoDB. Created: 2014-11-04 Updated: 2014-11-04 Due: 2014-11-11 Resolved: 2014-11-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Michael Weiner | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
zLINUX / Redhat 6.4 / s390x |
||
| Description |
|
Hello we are doing some testing for mariaDB in our environment. Can you please take a look and offer a possible resolution? Thank you!
^C |
| Comments |
| Comment by Michael Weiner [ 2014-11-04 ] | |||
|
Issuing from root I encounter: [root@mariadb sql]# ./mysqld 141104 14:44:51 [ERROR] Aborting 141104 14:44:51 [Note] ./mysqld: Shutdown complete | |||
| Comment by Elena Stepanova [ 2014-11-04 ] | |||
|
Please read the error messages and act accordingly.
So, grant proper access rights on the datadir and try again. | |||
| Comment by Michael Weiner [ 2014-11-04 ] | |||
|
Thank you. I clearly saw that was the error, I was hoping for a possible suggestion for fix that. I am wondering why make test returns with no errors but I am unable to start mysql | |||
| Comment by Michael Weiner [ 2014-11-04 ] | |||
|
[root@mariadb scripts]# ./mysql_secure_installation NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB In order to log into MariaDB to secure it, we'll need the current Enter current password for root (enter for none): | |||
| Comment by Elena Stepanova [ 2014-11-04 ] | |||
There isn't much to say apart from the obvious:
Both are done by regular linux commands, MySQL/MariaDB has nothing to do with it. Regarding the last error – sure, you need to start server first, before running mysql_secure_installation. If you can't start the server, you can't run the tool. | |||
| Comment by Michael Weiner [ 2014-11-04 ] | |||
|
Can you provide more insigh on this.. issue: /etc/init.d/mysql start failed.. checked /var/log InnoDB: Progress in percent: 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |||
| Comment by Elena Stepanova [ 2014-11-04 ] | |||
|
Run mysql_install_db. It looks like you've chosen trial-and-error method for getting your server running. I recommend to go with documentation instead, it will solve a lot of time and effort. | |||
| Comment by Michael Weiner [ 2014-11-04 ] | |||
|
Thanks for the updates. I did follow the instructions and were a bit confusing so this is where I am. Thanks for trying. |