Comments - Installation issues on Windows
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Hi,
If you are running Windows 7 or alike, please make sure you execute the command from a command prompt started as Administrator. Even if you think you are a privileged user, Windows tends to disagree. I'm getting the same error if I start command prompt in a usual way, but if I do it via 'Run as Administrator' option, it looks much better.
Thanks. Worked like a charm.
Should that be added to this page, for everyone (like me) who misses that little detail?
It was actually mentioned at mysql_install_db.exe page: "to create a Windows service, mysql_install_db.exe should be run by a user with full administrator privileges (which means elevated command prompt on systems with UAC)."
But I agree that this win-speak might be unclear. I added a note about 'Run as administrator' to mysql_install_db.exe and to this article.