admin管理员组文章数量:1415684
what does the titel mean?
System is Linux 22.04 Server DBs are there and open to be written! - Authserver writes his DB without any problem, but with the Worldserver i get:
'mysql: [ERROR] Failed to open required defaults file: /root/.../azerothcore/temp/mysql_ac.conf'
So in my files and folders -looking with ssh-connection- there is not even a folder like 'temp' anywhere in 'azerothcore' ...
This fail is coming up while first starting the worldserver - so there is nothing be written in the DBs... But what file does it want, if there's not even a folder --- and of course, how to fix?
Tried to find this folder or this file to put it in manualy -but no success, install all new -- same issue
what does the titel mean?
System is Linux 22.04 Server DBs are there and open to be written! - Authserver writes his DB without any problem, but with the Worldserver i get:
'mysql: [ERROR] Failed to open required defaults file: /root/.../azerothcore/temp/mysql_ac.conf'
So in my files and folders -looking with ssh-connection- there is not even a folder like 'temp' anywhere in 'azerothcore' ...
This fail is coming up while first starting the worldserver - so there is nothing be written in the DBs... But what file does it want, if there's not even a folder --- and of course, how to fix?
Tried to find this folder or this file to put it in manualy -but no success, install all new -- same issue
Share Improve this question asked Feb 4 at 18:05 CorelithCorelith 12 bronze badges 5 |1 Answer
Reset to default 0I think the answer is actually in your initial posting.
"there is not even a folder like 'temp' anywhere in 'azerothcore' ..."
In worldserver.conf, there is a line whos default is "".
TempDir = ""
I suspect you actually had it set.
I did. I was doing a full reinstall and got this error. I found that line in worldserver.conf, added the directory, and off it went.
本文标签: Azerothcoreworldserver mysql ERROR Failed to open required defaultsStack Overflow
版权声明:本文标题:Azerothcore, worldserver: mysql: [ERROR] Failed to open required defaults - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745240774a2649313.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
strace -fe trace=openat mysql
will list the files opened. Look at the one(s) that where opened before teh failred open of mysql_ac.conf. I can't really answer the "should" questions as someone decided to make it there. I'd recommend removing the "include" to this location, and if that fails, look in other directories formysql_ac.conf
that might be for the same purpose (whatever that was). – danblack Commented Feb 6 at 1:48strace -fe trace=openat mysql
shows me:openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 4 ERROR 1045 (28000): Access denied for user 'user'@'localhost' (using password: NO)
... i think that's meaning anything about the passwort? -- the Grands for my user are working - i looked inmysql
as root for this... but i don't understand why there's 'using password: NO' - of course it can't be open without password^^ --- the filemysql_ac.conf
doesn't exist anywehre - and just in my Backups (that have been in funktion some time ago) there's no file like this... – Corelith Commented Feb 8 at 15:38