Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • MySQL real-time monitoring tool

    Support performance mysql monitoring
    2
    0 Votes
    2 Posts
    466 Views
    marcusquinnM
    @vladimir-d DBeaver Database Dashboard? Or you thinking longer timeframe and more detail?
  • 0 Votes
    5 Posts
    701 Views
    girishG
    @jordanurbs thanks! I will look into making this automatic. https://git.cloudron.io/cloudron/box/-/issues/800
  • How do you diagnose PHP-based SQL problems?

    Solved Support mysql
    13
    1
    0 Votes
    13 Posts
    2k Views
    girishG
    Ok, I will mark this as solved but let's investigate further if this comes up again. FWIW, if you do docker exec -ti mysql /bin/bash then the details mysql logs are located at /tmp/mysqld.err .
  • mysql logs

    Solved Support mysql
    5
    1
    0 Votes
    5 Posts
    1k Views
    girishG
    @vladimir-d This is already fixed in the coming release - https://git.cloudron.io/cloudron/box/-/commit/6d044bfbf384b8ae98f1beac0f9d1c50005e8d34 . For now, you can ignore the warning, it's harmless.
  • Ubuntu 20.04 "landscape" user account running mysqld

    Solved Support mysql landscape
    24
    0 Votes
    24 Posts
    2k Views
    d19dotcaD
    @girish I think that might be an improvement worth considering, no? Making the necessary changes would (I think)... Make it clear to monitoring tools and manual checks by users which processes being run are local to the host and which are from containers, particularly useful when multiple instances of a service are being run both on the host and container. Follow what appears to be "best practices" when running containers. Improve security in certain situations. Admittedly these may be minor and not worth the overhead, but now that I'm aware of the behaviour, I'm a bit irked by it as it currently prevents me from easily identifying which services are container-run and which are local to the host, as well as making it confusing to which user is actually running the process listed.
  • Adding a second db to php 7.4 app

    Solved LAMP mysql migration drupal civicrm
    2
    0 Votes
    2 Posts
    534 Views
    girishG
    @shai you have to build a custom app, please see this guide https://docs.cloudron.io/guides/multiple-databases-lamp/
  • 0 Votes
    6 Posts
    2k Views
    imc67I
    @girish I requested the developers to review the query. Meanwhile I changed the setting in mysql and indeed the plugin doe work now as expected!
  • 0 Votes
    6 Posts
    1k Views
    girishG
    @msbt the old LAMP app will be left as-is. So, no change to that in the foreseeable future.
  • mysql addon fails to start

    Solved Support update mysql
    6
    0 Votes
    6 Posts
    1k Views
    girishG
    Generally, I am wary of putting this information for general use (and even in docs) because many things can go wrong . So, please, if you care about the data, don't hesitate to contact us on support@ . We help regardless of the subscription plan.
  • Feedback: Cloudron Update 6.2.4

    Support mysql update
    9
    0 Votes
    9 Posts
    1k Views
    girishG
    @drpaneas Just give that redis more memory. The "e1ca318a" is the app id. If you put in the search in the apps view, you will know which app's redis needs a bit more memory. It was reported earlier that pixelfed's redis needs more memory after the update. I guess this is because of update to Redis 5.
  • What is causing mysql to run out of memory?

    Support mysql oom
    6
    0 Votes
    6 Posts
    947 Views
    jdaviescoatesJ
    @nebulon I thought it was perhaps the Broken Links Checker on one of my WordPress installs, as as @marcusquinn noted it's widely known to sometimes cause such issues, but I've disabled that and I'm still getting these /mysql was restarted (OOM) (although they don't seem to appear in the event log?). I note that the most recent one happened 5 minutes after my backups are due to start, and the other previous two times it's been 7-9mins before updates are due to run. I wonder if either of those (backup/ update) processes might have something to do with it? I guess I could just give mysql more memory and not worry, but be nice to know what's happening and why...
  • Able to clean up binlog.###### files in /var/lib/mysql directory?

    Solved Support mysql
    32
    1 Votes
    32 Posts
    8k Views
    P
    @d19dotca Ok, thank's to your attention!
  • Phabricator fails to start with MySQL Error

    Phabricator mysql
    2
    0 Votes
    2 Posts
    439 Views
    girishG
    @nj This happens when the initial db install task runs out of memory. I have seen this often in our tests as well. The fix is simply to reinstall.
  • Migrating Mattermost with permission scheme

    Mattermost migration mysql
    3
    0 Votes
    3 Posts
    559 Views
    T
    @subven Thank you! I had not seen those docs It turned out that the Docker image of Mattermost used PostgreSQL, whereas on Cloudron if I'm not mistaken MySQL is used. I tried converting migrating the PostgreSQL database to MySQL but it was a bit of a headache, so I have gone down the conventional route of using Mattermost's bulk export/import.
  • 0 Votes
    3 Posts
    657 Views
    A
    @girish said in Connect to lamp app mysql db from outside with db client like tableplus/navicat over ssh tunnel: @andirahmat Try this - https://forum.cloudron.io/topic/3237/remote-sql-support-on-a-per-app-basis/2 . I haven't used tableplus/navcat but if you can post a screenshot maybe it helps debugging further. I think instead of mysql you just need to put in the IP of the mysql container using docker inspect mysql | grep IPAddress ah this is it : docker inspect mysql | grep IPAddress Thank you @girish !
  • 0 Votes
    12 Posts
    2k Views
    girishG
    I will mark this as solved for now but I suspect this will come back some day.
  • 1 Votes
    11 Posts
    2k Views
    LonkleL
    @fbartels said in MySQL tuning with my.cnf settings optimisation: @lonk said in MySQL tuning with my.cnf settings optimisation: when do we run / apply it? Mysql tuning is best applied after a few days of database usage. Applications usually have different load patterns. Gotcha, thanks for the tip! ️
  • Remote SQL Support on a per app basis

    Solved Feature Requests mysql
    15
    1 Votes
    15 Posts
    3k Views
    marcusquinnM
    @girish I think the issue with MySQL Workbench is I can't use the latest version as they don't support macOS 10.14 past a certain version, and a colleague on a later macOS can get it working on a later MySQL Workbench version but I can't update my OS at the moment until some other software I use is updated to work with the later OS. Classic catch-22 on that one. I think the solution to this should just be to use DBeaver, it's free on all platforms, and seems to work on all OS versions. too. Maybe better to save your time for the odd additional /phpmyadmin/ that might be useful on certain apps. Certainly appreciate the help and looking, but I don't want to distract you too much given it's a software version compatibility issue and not a Cloudron issue really. Thank you all the same though!!
  • Backups: protocol connection lost

    Solved Support backups mysql
    3
    0 Votes
    3 Posts
    536 Views
    luckowL
    ok. I gave mysql more RAM. Since then the backups have been running smoothly.
  • Redmine database?

    Solved Redmine redmine mysql import
    8
    0 Votes
    8 Posts
    1k Views
    girishG
    I have added a clear section in the guide - https://cloudron.io/documentation/guides/import-mysql/#import