AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Mysql for mac cant find9/21/2023 T09:12:47.055925Z 13 /usr/sbin/mysqld: Table './mysql/db' is marked as crashed and should be repaired T09:12:47.021528Z 12 /usr/sbin/mysqld: Table './mysql/db' is marked as crashed and should be repaired Fatal error: Can't open and lock privilege tables: Table storage engine for 'user' doesn't have this option The trials with this script give weird/crazy results.įor the Docker environment the start still fails In the Dockerfile the script is made available via COPY mysqltest.sh. Query on each table in the mysql space three times in a row (because experiments show that on some tables the query will fail exactly twice :-( ). The command '/bin/sh -c service mysql start' returned a non-zero code: 1Īfter experiments as outlined in my answer attempt, I created a shell script that does a select count(*) T11:59:57.680618Z 0 Fatal error: Can't open and lock privilege tables: Table storage engine for 'user' doesn't have this optionīuild log (for the complete Dockerfile) Sending build context to Docker daemon 2.56kB Now if you try this it fails docker run -it mysqlfail service mysql startĪnd /var/log/mysql/error.log contains a line: In the past (ubuntu 14.04 / mysql 5.5) a service mysql start was possible. Which was exactly what we wanted: a mysql with no root password set yet. T11:48:45.398445Z 1 is created with an empty password ! Please consider switching off the -initialize-insecure option. Would have been shown the following error log: ĭocker run -it mysqlfail tail -1 /var/log/mysql/error.log RUN DEBIAN_FRONTEND=noninteractive apt install -y mysql-serverīuild and run: docker build -t mysqlfail. (Most disruptive, but also most likely to succeed.This error message shows up when I use ubuntu 16.04 and the latest mysql 5.7.19-0ubuntu0.16.04.1 in a Docker image. Log out the macOS user account session, then log back in.So that’s my suggestion, such as it is - I’m not clear why this happens, but if you see this behavior, try: In this case, we are very sure indeed that we are looking in the right folder - we have a screen recording of the problem as it was happening. After a reboot, then the software became visible in Finder’s view of the /Applications folder.Ī web search for this problem has turned up a handful of hits ( Apple Discussions, JAMF Nation), including this post, but none have been very helpful - with lots of people making vaguely accusatory “are you sure you looked in the Applications folder?” type questions and so on.If you ran a Spotlight search for the software, it would show up & launch, and it would run normally from there.If you ran a ls -la /Applications in Terminal, the software was displayed.On opening /Applications in Finder, the software was not displayed sorting the programs alphabetically, it definitely was not shown on the list where it should have been.pkg installer, which wrote the files to the /Applications folder. People have reported the same problem with Slack and JAMF, among others, so it seems to be some kind of caching thing with Finder itself, and not a bug with any of these particular examples.) (I’m not going to identify the software here because that’s not the important detail. Today, one of my coworkers installed a copy of our company’s software on his Mac. This is not an “answer” per se, so much as an affirmation that I do not think you are hallicinating.
0 Comments
Read More
Leave a Reply. |