-
Notifications
You must be signed in to change notification settings - Fork 797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Native AIO interface is not supported on this platform. #3631
Comments
I get exactly the same thing on a fresh Ubuntu installation when I'm installing MySQL 8.0 using their official guide: https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/ Steps I did as root:
When asked I chose default configuration options and set no password for MySQL root user. And here goes:
And the content of
|
same issue and repro |
@therealkenc please reopen it, the issue does exists |
You can start it back up with a new issue submission following the template if you like. Given it looks like the postinstall script doesn't take, resulting in a "unrecognized service" error (more or less analogous to this), you likely need to start the server directly. If you still find no joy after starting the server manually, you'll want straces off the client and the server. IIRC mysql worked for me using Ubuntu's packaged version (which as with Mongo tends to be more tolerant of our systemd situation). I may recall incorrectly, mind you. It's been a month since I looked.
|
Face the same issue, I install mysql as the quick guide on mysql official website. I use a linux subsystem of Windows 10, does anybody know how to fix it? |
Direct installation of MySQL 8.x will not work on WSL, even after your have selected 8.x as the default install candidate. It has problem starting the server. Steps below should work (tried out on few WSL instances):
Hope this also works for you! |
Thank you @jw-redpanda. sudo apt-get purge mysql-server mysql-client mysql-common mysql-community-client mysql-community-client-core mysql-community-server mysql-community-server-core |
@jw-redpanda thanks for you solution, but it not working for me, i can't find string "/usr/share/mysql/mysql-helpers" in /etc/init.d/mysql file. |
########################################## |
Thank you @jw-redpanda . I was able to install the version 5.7. However, in my case the step 5. Change to MySQL 8.x candidate, the apt policy was still displaying as candidate version 5.7, although I selected 8.0 in previous step. I have at least the version 5.7 installed so I can start playing around, later I will figure out how to migrate to 8.0 |
Thank you @jw-redpanda, your solution works for me. |
In my case it works, if I start mysql with: sudo /etc/init.d/mysql start |
I used @jw-redpanda 's solution but I still encountered issues. This was the error I encountered when I ran
Did a quick google search for this error, and found this answer: https://dba.stackexchange.com/a/231103 I followed the advice, changing
and it now works. |
#WARNING# The connection error is because you want to run first: If you get an error about InnoDB most likely it's because of the wrong version from another repository. If then run: |
In my case, I have manually upgraded WSL to Ubuntu 19.10, and But I fixed it by totally uninstall mysql (be carefull): sudo apt remove --purge *mysql*
sudo apt remove --purge *mariadb*
sudo rm -rf /etc/mysql /var/lib/mysql
sudo apt autoremove
sudo apt autoclean and reinstall mysql, there seems no problem |
Thank you @jw-redpanda it works very smoothly and WAAAY better than other answers elsewhere, however, two things I encountered are:
But I don't think it's something as serious as the issues I was previously struggling with, so I'll probably fix this one as well soon. |
I had to remove everything from |
Using WSL and upgraded from Ubuntu 18.04 to 20.04.
This had previously worked, but now failed and produced log error...
...as described above by other users. @csakai describes simple solution of... changing /etc/mysql/mysql.conf.d/mysqld_safe_syslog.cnf to:
Seems to work for me. |
Only one small correction. You first need to run sudo apt-get update after that sudo apt policy mysql-server Thanks for the instructions. They are helpfull |
This also works for me too. |
if anyone's ended up here struggling with wix-embedded-mysql and for some reason can't change the mysql settings in your WSL distro or host unix system, you can just disable it through the custom mysqld setting
That option's only doable if you really don't care about InnoDB usage in your code though. |
Before Step 4 I had to remove existing apt config to make it work:
Also: I had to use latest mysql version ( |
This is the only thing that worked for me for my MariaDB installation. All the vague AIO errors started after this Windows Update: NOTE that I completely reinstalled WSL and Ubuntu on my Windows 11 machine and did a fresh install of MariaDB after I had this error, and the error did not go away after fresh installation. It could be some caching that breaks everything, since there was still something to This issue is not supposed to be closed, it's still an issue. |
Any updates on this? |
Yeah, still waiting for updates... |
Thanks man, this works on ubuntu 20.4 |
I found error if start mysql with
sudo service mysql start
display errormysql: unrecognized service
. and I start mysql withsudo mysql start
display error like thisERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
error.log in Ubuntu 18.04.1
MySQL 8.0
Please help me to fix this
The text was updated successfully, but these errors were encountered: