Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

mysql offical root password

Featured Replies

Hallo,

 

ich hab den container mysql-offical installiert und versuche mich erfolglos als root einzuloggen.

 

- Wenn ich auf random Passwort konfiguriere, sollte ich im log das passwort sehen - das log ist aber bis auf eine Zeile leer (klick auf icon)

- lasse ich random PAsswort leer und vergebe ich ein eigenes root Passwort, wird es in der console als "permission denied" nicht akzeptiert

- ein in der konfig angegebener User, kommt problemlos mit dem eigenen Passwort rein, hat allerdings keine Superprivilegien 

 

Wie habt ihr das gelöst?


Gruß oelomat

Solved by alturismo

  • Community Expert
3 hours ago, oekomat said:

das log ist aber bis auf eine Zeile leer (klick auf icon)

verwendest du im Template bei Extra Parameter zu fällig "--log-driver none"?

Das Log sollte meiner Meinung nach nicht komplett leer sein, nachdem der Container gestartet wurde.

  • Author

Nein hab ich nicht, steht auf der Standard-konfig:

Extra-parameter: --user=99:100 --memory=2G --restart=unless-stopped
 

und sieht dann so aus:

 

log.thumb.PNG.caf81f3e019c428af152e8ac0a0281a1.PNG

  • Community Expert

zeig doch mal das komplette docker run Command

10 hours ago, oekomat said:

Wie habt ihr das gelöst?

 

Bei mir läuft mysql so:
grafik.thumb.png.4a82042940bbd423a6a35d33547c1628.png

 

Hab den boolischen Wert bei "Random Password" rausgemacht und einfach leer gelassen. Den Database Namen auf den Standard Namen "mysql" geändert und alle Datenbanken manuell angelegt.

 

Falls weiterhin was nicht läuft wird der Grund in appdata zu finden sein, dort mal die Berechtigungen prüfen.

 

Grüsse

 

Edited by Amane

  • Author
On 7/28/2024 at 6:50 PM, cz13 said:

zeig doch mal das komplette docker run Command

Meins sieht so aus. Is die Variante, wo ich das random Passwort auslesen will, aber im log nichts steht.

image.thumb.png.5f1d8f0f056de27a88c1881dcb209749.png

3 hours ago, oekomat said:

Meins sieht so aus. Is die Variante, wo ich das random Passwort auslesen will, aber im log nichts steht.

 

du hast beide Variablen drin

 

einmal random, einmal um es selbst zu setzen (aber leer), entferne mal die 2. Variable ... daas ist normal entweder / oder

 

image.thumb.png.fb777988e5e1b1e818cecf685ee6cb1a.png

  • Author

Hab ich entfernt.

image.thumb.png.0fe7ff4b86d9b5365412ce46f31f5625.png

 

Im Log steht aber weiterhin kein random passwort
image.png.53a6fa85c9d04754d56df4baef2148d0.png

 

auch in der logDatei error.log nicht

 

image.thumb.png.8ce0551854454b905f96a84545fa1ef7.png



Wäre es besser, wenn ich es umgekehrt mache? Ein PW setzen und die random-Variable lösche?

  • Solution
18 minutes ago, oekomat said:

Wäre es besser, wenn ich es umgekehrt mache? Ein PW setzen und die random-Variable lösche?

klar ... 

 

und hast du auch /appdata/mysl... entfernt, kann ja sein dass der dort was ablegt und daher nichts kommt,

aber ich persönlich würde immer ein festes passwort setzen ;) 

  • Author

Danke. Hab die DB nochmal komplett installiert und dann läuft es jetzt mit eigenem PW.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.