Too many npm modules are installed after execute "npm install" - json

My package.json:
{
"name": "thumbnaillist-gulp",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"browserify": "^12.0.1",
"gulp": "^3.9.0",
"gulp-concat": "^2.6.0",
"gulp-react": "^3.1.0",
"gulp-util": "^3.0.7",
"react": "^0.13.3",
"react-script-loader": "0.0.1",
"reactify": "^1.1.1",
"vinyl-source-stream": "^1.1.0",
"watchify": "^3.6.1"
}
}
The weird thing is that after I execute "npm install", besides the modules listed in the dependencies field, other modules are also installed, such as
drwxr-xr-x 14 xxx wheel 476B Nov 18 18:41 acorn
drwxr-xr-x 7 xxx wheel 238B Nov 18 18:41 amdefine
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 ansi-green
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 ansi-regex
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 ansi-styles
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 ansi-wrap
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 anymatch
drwxr-xr-x 9 xxx wheel 306B Nov 18 18:41 archy
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 arr-diff
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 arr-flatten
drwxr-xr-x 5 xxx wheel 170B Nov 18 18:41 array-differ
drwxr-xr-x 8 xxx wheel 272B Nov 18 18:41 array-filter
drwxr-xr-x 9 xxx wheel 306B Nov 18 18:41 array-map
drwxr-xr-x 9 xxx wheel 306B Nov 18 18:41 array-reduce
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 array-slice
drwxr-xr-x 5 xxx wheel 170B Nov 18 18:41 array-uniq
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 array-unique
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 arrify
drwxr-xr-x 8 xxx wheel 272B Nov 18 18:41 asn1.js
drwxr-xr-x 10 xxx wheel 340B Nov 18 18:41 assert
drwxr-xr-x 10 xxx wheel 340B Nov 18 18:41 ast-types
drwxr-xr-x 9 xxx wheel 306B Nov 18 18:41 astw
drwxr-xr-x 9 xxx wheel 306B Nov 18 18:41 async-each
drwxr-xr-x 11 xxx wheel 374B Nov 18 18:41 balanced-match
drwxr-xr-x 8 xxx wheel 272B Nov 18 18:41 base62
drwxr-xr-x 9 xxx wheel 306B Nov 18 18:41 base64-js
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 beeper
drwxr-xr-x 6 xxx wheel 204B Nov 18 18:41 binary-extensions
drwxr-xr-x 10 xxx wheel 340B Nov 18 18:41 bn.js
drwxr-xr-x 7 xxx wheel 238B Nov 18 18:41 brace-expansion
drwxr-xr-x 7 xxx wheel 238B Nov 18 18:41 braces
drwxr-xr-x 7 xxx wheel 238B Nov 18 18:41 brorand
drwxr-xr-x 13 xxx wheel 442B Nov 18 18:41 browser-pack
drwxr-xr-x 7 xxx wheel 238B Nov 18 18:41 browser-resolve
drwxr-xr-x 12 xxx wheel 408B Nov 18 18:41 browserify
drwxr-xr-x 17 xxx wheel 578B Nov 18 18:41 browserify-aes
drwxr-xr-x 8 xxx wheel 272B Nov 18 18:41 browserify-cipher
drwxr-xr-x 7 xxx wheel 238B Nov 18 18:41 browserify-des
drwxr-xr-x 8 xxx wheel 272B Nov 18 18:41 browserify-rsa
drwxr-xr-x 16 xxx wheel 544B Nov 18 18:41 browserify-sign
drwxr-xr-x 8 xxx wheel 272B Nov 18 18:41 browserify-zlib
drwxr-xr-x 11 xxx wheel 374B Nov 18 18:41 buffer
drwxr-xr-x 11 xxx wheel 374B Nov 18 18:41 buffer-xor
Any hint on this? Is my NPM broken? Or I did not write a package.json in a correct way.

No there's nothing wrong, NPM now installs all dependencies to the root modules folder unless there is a version conflict. All those other modules you are seeing are dependencies of the modules you installed.
From the NPM 3.0.0 release notes:
Your dependencies will now be installed maximally flat. Insofar as is possible, all of your dependencies, and their dependencies, and THEIR dependencies will be installed in your project's node_modules folder with no nesting. You'll only see modules nested underneath one another when two (or more) modules have conflicting dependencies.

I hope Alexander O'Mara answer is helpful for you If you still want or for those who want to use dependencies like older version
you can use
npm install --legacy-bundling
If you always want use
npm set legacy-bundling=true
and use can run as usual
npm install

Related

/var/lib/mysql shows files created by systemd-coredump for mysql volume

/var/lib/mysql shows files created by systemd-coredump, while running mysql 8.0.31 docker image. Is this an issue, not sure if the database is created properly in the first place?
volumes:
- ./data/keycloak/mysql:/var/lib/mysql
ls -l data/keycloak/mysql/
total 87400
-rw-r----- 1 systemd-coredump systemd-coredump 196608 Oct 19 17:25 '#ib_16384_0.dblwr'
-rw-r----- 1 systemd-coredump systemd-coredump 8585216 Oct 19 15:42 '#ib_16384_1.dblwr'
drwxr-x--- 2 systemd-coredump systemd-coredump 4096 Oct 19 17:23 '#innodb_redo'
drwxr-x--- 2 systemd-coredump systemd-coredump 4096 Oct 19 17:34 '#innodb_temp'
-rw-r----- 1 systemd-coredump systemd-coredump 56 Oct 19 15:42 auto.cnf
-rw-r----- 1 systemd-coredump systemd-coredump 3026699 Oct 19 15:42 binlog.000001
-rw-r----- 1 systemd-coredump systemd-coredump 180 Oct 19 15:48 binlog.000002
-rw-r----- 1 systemd-coredump systemd-coredump 180 Oct 19 15:55 binlog.000003
-rw-r----- 1 systemd-coredump systemd-coredump 180 Oct 19 15:58 binlog.000004
-rw-r----- 1 systemd-coredump systemd-coredump 180 Oct 19 17:22 binlog.000005
-rw-r----- 1 systemd-coredump systemd-coredump 180 Oct 19 17:34 binlog.000006
-rw-r----- 1 systemd-coredump systemd-coredump 96 Oct 19 17:23 binlog.index
-rw------- 1 systemd-coredump systemd-coredump 1676 Oct 19 15:42 ca-key.pem
-rw-r--r-- 1 systemd-coredump systemd-coredump 1112 Oct 19 15:42 ca.pem
-rw-r--r-- 1 systemd-coredump systemd-coredump 1112 Oct 19 15:42 client-cert.pem
-rw------- 1 systemd-coredump systemd-coredump 1680 Oct 19 15:42 client-key.pem
-rw-r----- 1 systemd-coredump systemd-coredump 3540 Oct 19 17:34 ib_buffer_pool
-rw-r----- 1 systemd-coredump systemd-coredump 12582912 Oct 19 17:34 ibdata1
drwxr-x--- 2 systemd-coredump systemd-coredump 4096 Oct 19 15:42 mysql
-rw-r----- 1 systemd-coredump systemd-coredump 31457280 Oct 19 17:23 mysql.ibd
lrwxrwxrwx 1 systemd-coredump systemd-coredump 27 Oct 19 17:23 mysql.sock -> /var/run/mysqld/mysqld.sock
drwxr-x--- 2 systemd-coredump systemd-coredump 4096 Oct 19 15:42 performance_schema
-rw------- 1 systemd-coredump systemd-coredump 1680 Oct 19 15:42 private_key.pem
-rw-r--r-- 1 systemd-coredump systemd-coredump 452 Oct 19 15:42 public_key.pem
-rw-r--r-- 1 systemd-coredump systemd-coredump 1112 Oct 19 15:42 server-cert.pem
-rw------- 1 systemd-coredump systemd-coredump 1676 Oct 19 15:42 server-key.pem
drwxr-x--- 2 systemd-coredump systemd-coredump 4096 Oct 19 15:42 sso#002dkeycloak
drwxr-x--- 2 systemd-coredump systemd-coredump 4096 Oct 19 15:42 sys
-rw-r----- 1 systemd-coredump systemd-coredump 16777216 Oct 19 17:25 undo_001
-rw-r----- 1 systemd-coredump systemd-coredump 16777216 Oct 19 17:25 undo_002
I had some trouble, binlog.* can be deleted and also you need to configure logs size in mysql config, like
expire_logs_days=10
# from MySql 8
# binlog_expire_log_seconds=864000
max_binlog_size=1024M
You can set those parameters in docker-compose file in command parameter like
mysql:
image: mysql:8
container_name: "my-mysql"
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
volumes:
- mysql-volume:/var/lib/mysql
command: ['--default-authentication-plugin=mysql_native_password', '--binlog-row-event-max-size=1024M', '--binlog_expire_logs_seconds=864000']
and then re-build container.

Why i got many replay log files on mac where no replication is running?

Mysql on mac is generating a lot of relay log files, but no replication is actually running. So why? How to delete them?
mysql> SHOW SLAVE STATUS ;
Empty set, 1 warning (0.01 sec)
ls data/
...
-rw-r----- 1 _mysql _mysql 156 27 Jan 09:36 my-mac-relay-bin.000117
-rw-r----- 1 _mysql _mysql 156 27 Jan 11:41 my-mac-relay-bin.000118
-rw-r----- 1 _mysql _mysql 179 27 Jan 23:04 my-mac-relay-bin.000119
-rw-r----- 1 _mysql _mysql 156 28 Jan 09:25 my-mac-relay-bin.000120
-rw-r----- 1 _mysql _mysql 156 28 Jan 12:36 my-mac-relay-bin.000121
-rw-r----- 1 _mysql _mysql 156 29 Jan 18:57 my-mac-relay-bin.000122
-rw-r----- 1 _mysql _mysql 179 29 Jan 22:34 my-mac-relay-bin.000123
-rw-r----- 1 _mysql _mysql 179 30 Jan 22:28 my-mac-relay-bin.000124
...

In PhpStorm 2020.3.1 bookmarks list is lost

I moved from PhpStorm 2019.2.5 to PhpStorm 2020.3.1 and all configuration data were copied, except bookmarks (clicking Shift + F11) Also creating new bookmarks in my project I see in some time that bookmarks list is empty.
Is it some options? I searched under Settings menu and did not find any relative settings...
MODIFIED :
Yes, I have directory ~/.PhpStorm2019.2 and inside of it subdirectory :
~/.PhpStorm2019.2/config/workspace$ ls -la
total 2176
drwxrwxrwx 2 root root 12288 Feb 11 08:39 .
drwxrwxrwx 20 root root 4096 Feb 14 14:38 ..
-rwxrwxrwx 1 root root 5414 Apr 4 2020 1a4w1gfzxLk3XpeRcXCGguCZerY.xml
-rwxrwxrwx 1 root root 18537 May 31 2020 1a4yiM7iQLMU5BgjHz9PV2emErm.xml
-rwxrwxrwx 1 root root 30598 Apr 10 2020 1a9JNxNHut8vFqg5Gnttsx2kMFk.xml
-rwxrwxrwx 1 root root 2519 Apr 8 2020 1aF1O7im5ARC1oA848mL32YbgJy.xml
-rwxrwxrwx 1 root root 31350 Apr 12 2020 1aLluLCshipPI8PLdvL8YKuvdBM.xml
-rwxrwxrwx 1 root root 15708 Apr 13 2020 1aQevHaJ9Qm1Xu1ynMe9M3KWLar.xml
-rwxrwxrwx 1 root root 34798 May 14 2020 1aTRfKcAhlNrAFR6TgCySFO9nSo.xml
-rwxrwxrwx 1 root root 32498 Jul 31 2020 1bd8rM6zpBWTk5GnGhFdLmXNLTs.xml
-rwxrwxrwx 1 root root 33860 Jul 11 2020 1bfOzG3bFNBq0wtXfvcOQx7QZOU.xml
-rwxrwxrwx 1 root root 30769 May 11 2020 1bhtho9junW4mUenLypSIOoNaVm.xml
-rwxrwxrwx 1 root root 37002 Oct 5 13:36 1bkcANAwZe58iKfq0UJjfl66Kju.xml
-rwxrwxrwx 1 root root 2441 May 2 2020 1bKv1R7F4LNt40noNvr3Py20NB8.xml
-rwxrwxrwx 1 root root 2091 May 2 2020 1bKvTqaX66TUvVXYxsfcz901bgC.xml
-rwxrwxrwx 1 root root 8688 May 31 2020 1bKwS8cAOyMAX94IMG9iyYOQTPn.xml
-rwxrwxrwx 1 root root 11829 May 5 2020 1bTI7NNOpytER1F61hCb3lhjgwV.xml
-rwxrwxrwx 1 root root 16100 May 13 2020 1bTR60wheJGpEF799gVsB1Lz02Q.xml
-rwxrwxrwx 1 root root 2139 May 14 2020 1btubG7f2rqoGXBnH875B2yXZw9.xml
-rwxrwxrwx 1 root root 37970 Feb 4 11:50 1btulPnfEviYu6ZjA0jMz3XAGKV.xml
-rwxrwxrwx 1 root root 4250 Jun 2 2020 1clEqS1Wq1v8r4Wr98Cdq6SG7k6.xml
-rwxrwxrwx 1 root root 5932 Jun 2 2020 1clF3Am650wORZvKDgJxBDcFBiH.xml
-rwxrwxrwx 1 root root 3923 Jun 2 2020 1clFb4IM1vl9MIyrrokkkn4vZ5j.xml
-rwxrwxrwx 1 root root 33371 Feb 13 09:42 1clGIH90kWyK19fWs1HGSL2pRGR.xml
-rwxrwxrwx 1 root root 43127 Jan 25 11:00 1ctGMqtntGULseCbqHKs9v8xxe4.xml
-rwxrwxrwx 1 root root 31896 Jan 18 15:13 1ctK6MJCImTjbz5Ox0u8IDYo3ba.xml
-rwxrwxrwx 1 root root 23555 Feb 2 09:35 1dGSvEK8fGX3m4EfGXZ49sY0q6u.xml
-rwxrwxrwx 1 root root 36238 Aug 4 2020 1egJwlcgyrfMz1jyLxdILRLgWOI.xml
-rwxrwxrwx 1 root root 37897 Feb 7 09:57 1eXXs2titWFF7TZU9w8rkBAhHj8.xml
-rwxrwxrwx 1 root root 32467 Feb 12 19:38 1fcVuiQ1KzM84cFTwdjUP6xvJgR.xml
-rwxrwxrwx 1 root root 32481 Feb 7 10:40 1fR5HYJb9mtyR8FtQQauoAjcvRM.xml
-rwxrwxrwx 1 root root 2137 Aug 12 2020 1fzkA8gM539XI3tEfvsgezxoAe6.xml
-rwxrwxrwx 1 root root 19396 Aug 17 2020 1g8aQVf2HPSO9pAQ4Qu1KjRAF1w.xml
-rwxrwxrwx 1 root root 4348 Aug 19 06:49 1gHEM0N53OlPzE0xV3nQJjgbbhK.xml
-rwxrwxrwx 1 root root 35322 Dec 21 14:51 1gjK6igFfcUFIZ46nWj6oNvexBu.xml
-rw-rw-r-- 1 serge serge 5038 Oct 2 14:44 1iJudFQ4hlAVsXUsW8R5WYzLgZZ.xml
-rw-rw-r-- 1 serge serge 8173 Dec 12 10:56 1iKHDerprVcFOQbs8Tx7ppMfxAM.xml
-rw-rw-r-- 1 serge serge 10180 Oct 4 15:11 1iPMoBCOhdSAEF9DiVJUZpe7cXD.xml
-rw-rw-r-- 1 serge serge 36389 Feb 8 18:40 1jh4C3pQhWek7GCdFV6oOUeEe15.xml
-rw-rw-r-- 1 serge serge 7289 Oct 30 17:54 1jKS80A3gOig5uu8dqztMAGUMsX.xml
-rw-rw-r-- 1 serge serge 4274 Oct 28 07:39 1jQJWXPdCne1x3BxeZYH76Sn25L.xml
-rw-rw-r-- 1 serge serge 32697 Feb 8 18:47 1jUfLDHy6rFBnAamAL4OBF1QPoQ.xml
-rw-rw-r-- 1 serge serge 24820 Jan 21 16:36 1kleDQZqIJX0U2gLSTXul5cJW3k.xml
-rw-rw-r-- 1 serge serge 2061 Nov 26 07:28 1koYZJDKe2ZnIJLtghgFwa95W7s.xml
-rw-rw-r-- 1 serge serge 12630 Nov 28 08:01 1ksSBjqCHFseVKdvzL4gXCVSFEf.xml
-rw-rw-r-- 1 serge serge 18984 Jan 15 15:00 1kuBY5e27EaELWznLHt4dFoOEx8.xml
-rw-rw-r-- 1 serge serge 15310 Dec 7 15:10 1kuMl0WELNfbzuNDWs0qnrZZ9M4.xml
-rw-rw-r-- 1 serge serge 3561 Dec 15 11:01 1lek8uPBphwtJiiOZehepwlRIZ5.xml
-rw-rw-r-- 1 serge serge 2200 Dec 7 19:01 1lFItAEOrMZ2JIj8ckoduLcOYjZ.xml
-rw-rw-r-- 1 serge serge 11337 Dec 19 07:23 1ljFlfClFyKvLIBxNrMzoguYhfi.xml
-rw-rw-r-- 1 serge serge 24929 Feb 8 06:40 1lKxmKjKRBSY09HFZW2BYuWhLkP.xml
-rw-rw-r-- 1 serge serge 34255 Feb 6 07:44 1lNYJEKjvBuq35dsNWP2sPO88S7.xml
-rw-rw-r-- 1 serge serge 37624 Feb 14 10:58 1lSkUerkZ2rf0XNQ6z4LVUeZlMU.xml
-rw-rw-r-- 1 serge serge 33419 Jan 10 09:30 1lTufuXvYLIgYcSQ3Y6QAQ9DNjh.xml
-rw-rw-r-- 1 serge serge 4894 Dec 21 18:52 1lxd5ToFnNIvccCI7YVY6oW8dbg.xml
-rw-rw-r-- 1 serge serge 31395 Jan 29 15:08 1m3eXdt2CqEgv5bggUR4noHSygj.xml
-rw-rw-r-- 1 serge serge 4388 Jan 29 15:08 1m3uD2lWCplwU10e1JqTHdUXqcP.xml
-rw-rw-r-- 1 serge serge 10925 Dec 25 09:16 1m8MahHOw3BvTGdkXvfBPaMyVcx.xml
-rw-rw-r-- 1 serge serge 8771 Jan 5 15:01 1mdv8IQtJyWdail2TCiPN7BoVCF.xml
-rw-rw-r-- 1 serge serge 8199 Jan 10 09:04 1mrf4cb4ER4rzwVNMNiBJ8Y7y3e.xml
-rw-rw-r-- 1 serge serge 8850 Feb 5 18:51 1naoB9qzi2HWn7ssr8zurscg6bz.xml
-rw-rw-r-- 1 serge serge 28242 Feb 14 14:38 1oBmeqCErUo2GelWqStF2ixql1v.xml
-rw-rw-r-- 1 serge serge 3076 Feb 8 07:08 1oBXIchRN149qCLmNHO6Q7rdQRy.xml
-rw-rw-r-- 1 serge serge 13013 Feb 8 09:10 1oBXtjLGDdSAuiFibXz1ZIkxUws.xml
-rw-rw-r-- 1 serge serge 26956 Feb 14 14:24 1oH8QdZPVx9tOD0Ww1TsWVMG5x8.xml
-rw-rw-r-- 1 serge serge 2537 Feb 11 09:06 1oKBfsMSY7Uv9DGdKNBR9d88fS2.xml
-rwxrwxrwx 1 root root 34290 Feb 4 19:03 1Rm4AxUdFncCarLk3cvlZoW6hPG.xml
-rwxrwxrwx 1 root root 39992 Nov 8 2019 1Rmi5cfkZdj4lbwNRpU84eKp2wP.xml
-rwxrwxrwx 1 root root 33598 Nov 19 2019 1Rmsg9zY18B6tDflh2cW9EUGnzo.xml
-rwxrwxrwx 1 root root 34394 Mar 26 2020 1RpDtKaNvSbIuuQKmK1spjIAGBP.xml
-rwxrwxrwx 1 root root 19420 Jan 27 2020 1RsB0AIxbLGLyP68lzaDwJVwugW.xml
-rwxrwxrwx 1 root root 2092 Oct 7 2019 1RsgPDExoMZrfSFD7yQt9jW9kus.xml
-rwxrwxrwx 1 root root 13765 Oct 21 2019 1S41LVlLjHZuzyNOpUP9gAyQEqC.xml
-rwxrwxrwx 1 root root 14130 Feb 23 2020 1SmpfiiZmHeqSCJFohplSImPLEO.xml
-rwxrwxrwx 1 root root 9701 Nov 12 2019 1SpeqqddT3TTAxPKQM5yRbftnBf.xml
-rwxrwxrwx 1 root root 6881 Nov 9 2019 1T0x0jGYfUVdB8qUJt3tzoqzNw2.xml
-rwxrwxrwx 1 root root 9992 Nov 14 2019 1TCBYpfPutkKefcU3Z65ewW9tWT.xml
-rwxrwxrwx 1 root root 11594 Nov 15 2019 1Tdb0KLEuevg5K8fwis8wVm1hKp.xml
-rwxrwxrwx 1 root root 21733 Dec 28 2019 1TegnKDlmFkn8XO9vKzLHbvnkNw.xml
-rwxrwxrwx 1 root root 37574 May 9 2020 1Tk6cIdSmoymNKD76QMTISwqFjv.xml
-rwxrwxrwx 1 root root 2432 Nov 8 2019 1TK9E8IAzmHyPp68ls0tNgPVayD.xml
-rwxrwxrwx 1 root root 40374 May 10 2020 1TK9kipvhSN5PW40W9Q5MX8BgiN.xml
-rwxrwxrwx 1 root root 33869 May 8 2020 1TyEKu6gQ8KqIy5EHM8e1DFWKra.xml
-rwxrwxrwx 1 root root 4199 Dec 19 2019 1VBeuWsaVbO09Of5oZC9THjo93d.xml
-rwxrwxrwx 1 root root 5165 Dec 30 2019 1Vhv8g0qJ3s8ddSUFnT64jg2RH8.xml
-rwxrwxrwx 1 root root 22540 Jan 29 2020 1Vjg3bEBOCT8rJrsTiH7l92CNQl.xml
-rwxrwxrwx 1 root root 2978 Dec 31 2019 1VjXSbFCiF6ZA6yPRAhvXHg9N56.xml
-rwxrwxrwx 1 root root 11044 Dec 24 2019 1VMvp2Yvn56OXpbj5VOEGeCDCe6.xml
-rwxrwxrwx 1 root root 3149 Dec 23 2019 1VNIaZBaxfVgloLcYmducbMH3cv.xml
-rwxrwxrwx 1 root root 16113 Jan 1 2020 1VPwNXU603DVMBQmUkGqjGUdjZX.xml
-rwxrwxrwx 1 root root 5916 Jan 3 2020 1VqUiFHCkE6G6SGc9s9NaktrFsk.xml
-rwxrwxrwx 1 root root 34674 Jun 5 2020 1Vrzjgo5fcnGzdrJWKIUellZNhZ.xml
-rwxrwxrwx 1 root root 4971 Jan 3 2020 1Vs7kGPSXQ9BzmCWgyGjjPa22yk.xml
-rwxrwxrwx 1 root root 21969 Jan 27 2020 1Vs986PKMCK9MxUFwrD9Ek0Tehr.xml
-rwxrwxrwx 1 root root 7796 Jan 10 2020 1W4eGRWFs7dRZBQwkTSxSJw7pxW.xml
-rwxrwxrwx 1 root root 9793 Jan 7 2020 1W4VJrk0J31KWw3ERy1bERdMhGR.xml
-rwxrwxrwx 1 root root 5093 Jan 10 2020 1WC7XeeIYoGHyfBjIrNESRHSWX3.xml
-rwxrwxrwx 1 root root 3434 Jan 10 2020 1WCXAwWIxaEa9EbVOkVr5x3kkNJ.xml
-rwxrwxrwx 1 root root 5308 Jan 14 2020 1WN2kmt0G72TBta2suHkS6pCCtO.xml
-rwxrwxrwx 1 root root 35152 Jun 13 2020 1Wz7P6rGxq0V2l19QzEEi6r2iAO.xml
-rwxrwxrwx 1 root root 2239 Jan 31 2020 1X7a8SVRQv8b1uELcN7KJF3TY9h.xml
-rwxrwxrwx 1 root root 2240 Feb 28 2020 1X7YgiWmhP74klYNmmoXIKOSs1v.xml
-rwxrwxrwx 1 root root 2145 Mar 5 2020 1Yi4PzB92Z6e4wCly3e2sJYosS6.xml
-rwxrwxrwx 1 root root 2450 Mar 7 2020 1YmkrsfXhp0aeumDMWAGZFsSbSU.xml
-rwxrwxrwx 1 root root 4586 Feb 28 2020 1YR8NaUhpjLA0EDW4led9eCZgWV.xml
-rwxrwxrwx 1 root root 24885 Mar 28 2020 1YRTdgIEBLC1S4OLHsptdZa1S00.xml
-rwxrwxrwx 1 root root 27424 Sep 3 14:25 1YTMYeYiyXb5GJKJJjz6jV8ITET.xml
-rwxrwxrwx 1 root root 26931 Mar 16 2020 1Z51nNPaJ2wJXIZCpaAAS8l8vVa.xml
-rwxrwxrwx 1 root root 2093 Mar 25 2020 1Zcae8ilyi77Ute4Rw0HG64hsDl.xml
-rwxrwxrwx 1 root root 2146 Mar 16 2020 1ZCHRrbmDJDlvAOrE31t9cRQj84.xml
-rwxrwxrwx 1 root root 20513 Mar 16 2020 1ZDC0iWrUwv9jF5dlxiJxn7886T.xml
-rwxrwxrwx 1 root root 25177 Apr 8 2020 1ZDc1if7TEFkcZXmymhgQVndCf1.xml
-rwxrwxrwx 1 root root 42734 Dec 13 18:21 1ZfXA78cN7EP8Swa8brm8jI9Mh3.xml
-rwxrwxrwx 1 root root 7588 Mar 28 2020 1ZkAcAAGWo7tvGSmEwrCgT5UpA2.xml
-rwxrwxrwx 1 root root 33749 Apr 5 2020 1Zkr2pePj2cwRKZ4SuyfVHzFcAA.xml
-rwxrwxrwx 1 root root 4191 Apr 2 2020 1ZyAFVx1YA2coSliSpgUMfWiUkU.xml
I opened file : /.idea/workspace.xml of my project and it has no any “projectID” parameter.
No specific directory for 2020.3.1 under home.
Also I see menu items “File”->“Manage IDE Settings”->"Import Settings"->"Export Settings".
Could it be usefull in my case?

MySQL server won't start - ERROR! The server quit without updating PID file

So I have a newer macOS - macOS Mojave 10.14.1. The mysql version I have installed is 5.6 - and I unfortunately cannot upgrade (trying to run our company app, and our files syntax is stuck in 5.6 and won't run in 5.7). I installed using homebrew.
When I run mysql.server start - I get the following error:
Starting MySQL
. ERROR! The server quit without updating PID file
(/usr/local/var/mysql/Cecilles-MacBook-Pro.local.pid).
I read up a lot that this is a permissions issue, so I went and made sure that user is set to mysql and not root or me.
➜ support-files ls -la
total 64
drwxr-xr-x 8 _mysql staff 256 Nov 8 13:11 .
drwxr-xr-x 19 _mysql staff 608 Nov 9 09:44 ..
-rwxr-xr-x 1 _mysql staff 1153 Sep 10 03:23 binary-configure
-rw-r--r-- 1 _mysql staff 773 Sep 10 03:23 magic
-rw-r--r-- 1 _mysql staff 1105 Nov 8 13:28 my-default.cnf
-rwxr-xr-x 1 _mysql staff 946 Nov 8 13:11 mysql-log-rotate
-rwxr-xr-x 1 _mysql staff 10678 Nov 8 13:11 mysql.server
-rwxr-xr-x 1 _mysql staff 1061 Nov 8 13:11 mysqld_multi.server
Ran which to see if mysql.server is just a symlink - it was.
➜ support-files which mysql.server
/usr/local/opt/mysql#5.6/bin/mysql.server
So I go there to change any necessary permissions.
➜ bin ls -la
total 253368
drwxr-xr-x 46 _mysql staff 1472 Nov 8 13:11 .
drwxr-xr-x 19 _mysql staff 608 Nov 9 09:44 ..
-r-xr-xr-x 1 _mysql staff 3185296 Nov 8 13:11 innochecksum
-r-xr-xr-x 1 _mysql staff 1569 Nov 8 13:11 msql2mysql
-r-xr-xr-x 1 _mysql staff 3180344 Nov 8 13:11 my_print_defaults
-r-xr-xr-x 1 _mysql staff 3425124 Nov 8 13:11 myisam_ftdump
-r-xr-xr-x 1 _mysql staff 3519928 Nov 8 13:11 myisamchk
-r-xr-xr-x 1 _mysql staff 3402280 Sep 10 03:23 myisamlog
-r-xr-xr-x 1 _mysql staff 3443204 Nov 8 13:11 myisampack
-r-xr-xr-x 1 _mysql staff 3470344 Nov 8 13:11 mysql
lrwxr-xr-x 1 _mysql staff 29 Sep 10 03:23 mysql.server ->
../support-files/mysql.server
-r-xr-xr-x 1 _mysql staff 3761480 Nov 8 13:11 mysql_client_test
-r-xr-xr-x 1 _mysql staff 11384760 Nov 8 13:11
mysql_client_test_embedded
-r-xr-xr-x 1 _mysql staff 6556 Nov 8 13:11 mysql_config
-r-xr-xr-x 1 _mysql staff 3374832 Nov 8 13:11 mysql_config_editor
-r-xr-xr-x 1 _mysql staff 4299 Sep 10 03:23
mysql_convert_table_format
-r-xr-xr-x 1 _mysql staff 11080428 Nov 8 13:11 mysql_embedded
-r-xr-xr-x 1 _mysql staff 3374 Sep 10 03:23 mysql_find_rows
-r-xr-xr-x 1 _mysql staff 1331 Sep 10 03:23
mysql_fix_extensions
lrwxr-xr-x 1 _mysql staff 27 Sep 10 03:23 mysql_install_db ->
../scripts/mysql_install_db
-r-xr-xr-x 1 _mysql staff 3189504 Nov 8 13:11 mysql_plugin
-r-xr-xr-x 1 _mysql staff 10106 Sep 10 03:23
mysql_secure_installation
-r-xr-xr-x 1 _mysql staff 17550 Sep 10 03:23 mysql_setpermission
-r-xr-xr-x 1 _mysql staff 3147136 Nov 8 13:11 mysql_tzinfo_to_sql
-r-xr-xr-x 1 _mysql staff 3484512 Nov 8 13:11 mysql_upgrade
-r-xr-xr-x 1 _mysql staff 3180128 Nov 8 13:11 mysql_waitpid
-r-xr-xr-x 1 _mysql staff 3942 Sep 10 03:23 mysql_zap
-r-xr-xr-x 1 _mysql staff 3378320 Nov 8 13:11 mysqladmin
-r-xr-xr-x 1 _mysql staff 3547660 Nov 8 13:11 mysqlbinlog
-r-xr-xr-x 1 _mysql staff 10928 Nov 8 13:11 mysqlbug
-r-xr-xr-x 1 _mysql staff 3373696 Nov 8 13:11 mysqlcheck
-r-xr-xr-x 1 _mysql staff 11766608 Nov 8 13:11 mysqld
-r-xr-xr-x 1 _mysql staff 27015 Nov 8 13:11 mysqld_multi
-r-xr-xr-x 1 _mysql staff 27430 Nov 8 13:11 mysqld_safe
-r-xr-xr-x 1 _mysql staff 3435992 Nov 8 13:11 mysqldump
-r-xr-xr-x 1 _mysql staff 7424 Sep 10 03:23 mysqldumpslow
-r-xr-xr-x 1 _mysql staff 34938 Sep 10 03:23 mysqlhotcopy
-r-xr-xr-x 1 _mysql staff 3370296 Nov 8 13:11 mysqlimport
-r-xr-xr-x 1 _mysql staff 3368808 Nov 8 13:11 mysqlshow
-r-xr-xr-x 1 _mysql staff 3385220 Nov 8 13:11 mysqlslap
-r-xr-xr-x 1 _mysql staff 3618408 Nov 8 13:11 mysqltest
-r-xr-xr-x 1 _mysql staff 11203720 Nov 8 13:11 mysqltest_embedded
-r-xr-xr-x 1 _mysql staff 3284632 Nov 8 13:11 perror
-r-xr-xr-x 1 _mysql staff 3157072 Sep 10 03:23 replace
-r-xr-xr-x 1 _mysql staff 3187036 Nov 8 13:11 resolve_stack_dump
-r-xr-xr-x 1 _mysql staff 3180348 Nov 8 13:11 resolveip
I run mysql.server start and still no dice. I'm pretty sure the PID file isn't being created due to a permissions issue, but at this point, I'm not quite sure what else I have to change permissions/owner on.
Any feedback would be appreciated, thanks!

Can't connect to local MySQL Server with homebrew

I have installed the MySQL-Server with homebrew before on another User on my Macbook Pro, but I must change the User and now I can't start the MySQL server:
$ mysql.server start
Starting MySQL
./usr/local/Cellar/mysql/5.7.22/bin/mysqld_safe: line 144:
/usr/local/var/mysql/Stefans-MacBook-Pro.local.err: Permission denied
/usr/local/Cellar/mysql/5.7.22/bin/mysqld_safe: line 144:
/usr/local/var/mysql/Stefans-MacBook-Pro.local.err: Permission denied
/usr/local/Cellar/mysql/5.7.22/bin/mysqld_safe: line 198:
/usr/local/var/mysql/Stefans-MacBook-Pro.local.err: Permission denied
/usr/local/Cellar/mysql/5.7.22/bin/mysqld_safe: line 144:
/usr/local/var/mysql/Stefans-MacBook-Pro.local.err: Permission denied
ERROR! The server quit without updating PID file
(/usr/local/var/mysql/Stefans-MacBook-Pro.local.pid).
The User "Stefan" doesn't exist anymore. Maybe the rights on /usr/local/var/mysql are not correct, but I am unsure about what I can do to fix it.
The rights are:
$ sudo ls -lah /usr/local/var/mysql/
Password:
total 221392
drwxr-xr-x 20 501 admin 640B 25 Apr 15:47 .
drwxrwxr-x 8 501 admin 256B 20 Apr 10:12 ..
-rw-r----- 1 501 admin 60K 25 Apr 15:47 Stefans-MacBook-Pro.local.err
-rw-r----- 1 501 admin 56B 20 Apr 10:12 auto.cnf
-rw------- 1 501 admin 1,6K 20 Apr 10:12 ca-key.pem
-rw-r--r-- 1 501 admin 1,1K 20 Apr 10:12 ca.pem
-rw-r--r-- 1 501 admin 1,1K 20 Apr 10:12 client-cert.pem
-rw------- 1 501 admin 1,6K 20 Apr 10:12 client-key.pem
-rw-r----- 1 501 admin 464B 25 Apr 15:47 ib_buffer_pool
-rw-r----- 1 501 admin 48M 25 Apr 15:47 ib_logfile0
-rw-r----- 1 501 admin 48M 20 Apr 10:12 ib_logfile1
-rw-r----- 1 501 admin 12M 25 Apr 15:47 ibdata1
drwxr-x--- 77 501 admin 2,4K 20 Apr 10:12 mysql
drwxr-x--- 90 501 admin 2,8K 20 Apr 10:12 performance_schema
-rw------- 1 501 admin 1,6K 20 Apr 10:12 private_key.pem
-rw-r--r-- 1 501 admin 452B 20 Apr 10:12 public_key.pem
-rw-r--r-- 1 501 admin 1,1K 20 Apr 10:12 server-cert.pem
-rw------- 1 501 admin 1,6K 20 Apr 10:12 server-key.pem
drwxr-x--- 108 501 admin 3,4K 20 Apr 10:12 sys
drwxr-x--- 25 501 admin 800B 20 Apr 12:00 textspinner
I have also tried to reinstall MySQL server but it doesn't work.
How can I fix this?
Ok, with this post i could fix this:
https://coderwall.com/p/os6woq/uninstall-all-those-broken-versions-of-mysql-and-re-install-it-with-brew-on-mac-mavericks