jriou, to random
@jriou@hachyderm.io avatar

Today, I had an alert on a self-hosted database running on with 1TB of RAM and 18TB of NVMe (in RAID10-like). 100% i/o write usage. 3k connections. Why on earth do we need that amount of resources? There must be something wrong in the design.

adminmagazine, to opensource
@adminmagazine@hachyderm.io avatar

Free Focus Guide: To harness the power of data, you need a database management system that offers flexibility and freedom. Download this new focus guide and get up to speed on the open source database ecosystem. https://mailchi.mp/admin-magazine.com/open-source-databases

mikestreety, (edited ) to php
@mikestreety@hachyderm.io avatar

I'm looking for a solution to branch-based previews for a / stack. We have nearly 60 sites we want to set this up for (a lot of services I find either charge $1000s or don't even support that many).

I don't want anything fancy, I don't need to edit in the browser. I would like to push a branch to gitlab and have the option to spin up an environment to preview.

I have considered doing it myself, but I was hoping to not have to support my own infrastructure.

FlohEinstein, to infosec
@FlohEinstein@chaos.social avatar

Days without DATETIME / TIMESTAMP incident:

to3k, to Blog
@to3k@tomaszdunia.pl avatar

For my #blog, I also observed this problem. This is not very disturbing, but after publishing information about the new post, the site temporarily stops working and throws the error of exceeding the #MySQL query limit, because the blog is based, of course, on #Wordpress.
via #unknowNews
https://news.itsfoss.com/mastodon-link-problem/

OldGrumpyBitWrangler, to php

An instance of a popular CMS is used for a website. While analyzing I'm coming across a a table in it's MySQL database where a column called "deleted" is defined as such:

deleted` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'A boolean indicating whether this data item has been deleted‘

🤦‍♂️

There should be a license allowing allowed to write software used by someone else. Like with drivers licenses it needs a points system for violations and license revocation.
#WebDevelopment #PHP #MYSQL #SQL

ruud, to random
@ruud@mastodon.world avatar

Troubleshooting a broken #MySQL #Galera cluster, I don't really like this setup and I'm about as stuck as the cluster is... argh..

MySQL 8.0: Prepare your old Drupal (community.ovh.com)

Post en français ici. TL;DR: Older versions of Drupal does not work with MySQL 8.0. Update now. Brace yourself, MySQL 8.0 is coming soon on the databases delivered with your web hostings, also called "SharedSQL" (more info soon). After my post on old Wordpress, this one is about old Drupal. Issue Whether you installed it...

codeenigma, to drupal

Very relevant post from about which versions support 8.0, as quite a few sites are still stuck on MySQL 5.7:

https://community.ovh.com/t/MySQL-80-Prepare-your-old-Drupal/63531

griebie, to random

Hab gestern 2 Stunden damit verbracht, mein MAMP nach dem Absturz wieder zum laufen zu kriegen

https://www.griebie.de/absturz-bei-laufendem-mamp-mysql-neustart-schlaegt-fehl

gjergjiramku, to PostgreSQL
@gjergjiramku@mastodon.social avatar

What's your go to db for side projects?

From now on mine will be sqlite.

So many benefits compared to other database, where do I start from?

osjobhub, to opensource
@osjobhub@fosstodon.org avatar
codemonkeymike, to random

On a scale of 1 to Drupal, how janky is it to create a index on a text field like this?

Using a prefix index, as all I care about is the first 10 characters of the field for lookup purposes

mackuba, to postgres
@mackuba@martianbase.net avatar

Anyone here used both and a lot and could tell me how they compare for larger DBs? Mostly in terms of performance, assuming I don't need some advanced features - talking about 10s or 100s of GBs, a lot of writes but not that many reads. 🤔

bananabob, (edited ) to random
@bananabob@mastodon.nz avatar

This now solved thanks to those that helped.

I just love the non-questioning help provided here. Mastadonians are amazing!


I need some mysql help.

I have this piece of code:
$result = mysqli_query($db,"UPDATE FROM pages WHERE status = 'D' AND status_date <= '$delete_date'");

Is there something wrong with the code?

bertrand, to php

Hey Mastodon, what's a free hosting plan for a server-side Web app + DB you'd recommend? Should I pursue with good old and or is there something more modern? I have a small doodling idea for this three days week-end and maybe I should also learn a new language?

osjobhub, to linux
@osjobhub@fosstodon.org avatar
outofcontrol, to random
@outofcontrol@phpc.social avatar

After using TablePlus for around 3 years, is this still a good app to use? Are there newer better alternatives.

It’s renewal time and I’d like to check-in on other apps before upgrading.

Feedback welcome.

#tableplus #mysql #mariadb

aeveltstra, (edited ) to php
@aeveltstra@mastodon.social avatar

Remember, when you're programming a web application in #PHP, that the #MySQL backticks used in your #SQL cannot be used to fetch record fields in PHP.

PHP 7.5 doesn't throw an error on using backticks where one should be using quotes, when retrieving record fields. It simply returns null.

villares, to Help
@villares@ciberlandia.pt avatar

So, who wants to #help me fix a #Wordpress blog for a friend, doing #mySQL encoding conversion hacks?
I have no money to offer, unfortunately.

drupalthoughts, to drupal
@drupalthoughts@fosstodon.org avatar

i ran into some peculiar speedbumps building a very basic #drupal 10 site that would be showstoppers for novices:
😬#ckeditor 5 inline images and default admin themes don't apply height:auto, but do set image max-width to 100%, so my giant pixel art displays at the wrong aspect ratio before correcting it in both the admin and default themes
😬this haunted windows vs linux syntax issue with #mysql db config https://www.drupal.org/forum/support/post-installation/2024-03-09/error-drupalmysqldriverdatabasemysqlconnection-not-found
😬the generate-theme based theme ignores block layout order

xahteiwi, to AWS
@xahteiwi@mastodon.social avatar

Hmmm so question for you #MySQL/#AWS folk out there:

I always thought that, at least for databases that are less than gigantic, "mysqldump --single-transaction" was a good backup option.

Turns out that that doesn't work on AWS Aurora, apparently because it doesn't give you the necessary privileges for FLUSH TABLES WITH READ LOCK.

What am I missing? Is that option obsolete or no longer needed to get a consistent backup? Do people use completely different means to back up Aurora databases?

jemal, to ubuntu
@jemal@jemal.contact avatar

Does anyone have tips for installing alongside and existing server in 22.04? I am using a bunch of MariaDB exclusive field types and functions for geosearches, but would also like to try out Ghost which requires MySQL.

alyx, to ghost
@alyx@3615.computer avatar

Thanks to @jemal I learned that MariaDB is not actually officially supported by Ghost: https://forum.ghost.org/t/when-will-mysql-8-be-mandated-which-ver/29228/2

So if you made the same stupid choice as me, look into switching before it becomes an issue.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • osvaldo12
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • cisconetworking
  • kavyap
  • ethstaker
  • megavids
  • modclub
  • GTA5RPClips
  • khanakhh
  • tacticalgear
  • Durango
  • rosin
  • normalnudes
  • Leos
  • provamag3
  • tester
  • cubers
  • anitta
  • lostlight
  • All magazines