danielpetrica, to php

Today I got some jobs (made by a coleague) which had a runtime of up to 75 seconds down to under 0.01s all by inserting some index on the Db table.
The job had several 7s long read on a 1M+ row table which added up fast.
Now they are blazing fast 🤩
#Php #Laravel #Mysql #mysqlOptimization

categulario, to PostgreSQL Spanish
@categulario@mstdn.mx avatar

por fin encontré la causa de un pinche bug de la muerte en Cierto software que estoy reparando™

sospechaba que era una regresión causada por el cambio de base de datos de #mysql a #postgresql y era cierto!

también sospechaba que la razón por la que no lo podía encontrar tan fácilmente era que se escondía detrás de un try-catch tragatodo y ¡También era cierto!

antondollmaier, to random
@antondollmaier@mastodon.social avatar

It seems and have entirely diverted into two separate products.
While lists MariaDB and MySQL in their requirements, their recommendation is MySQL8 - which would be okay, you can have a favorite child.
On the other hand, developers now use functions that are exclusive to MySQL8 - completely disregarding the existence of MariaDB and thus breaking Shopware compatibility with MariaDB itself.

chris, to homeassistant
@chris@social.uggs.io avatar

So you #HomeAssistant (ab)users: Why is it recommended to purge the #MySQL Database and prune stuff older than X days?

I am keeping all my data; not even filtering. I have every value, every state and every statistic. I can See how much I need to crank my #HeatPump up with the outside temperature so it gets cozy. I see my PV array and can compare.

I never said "I wish I had a smaller DB.". Size is only 80gb. For 4 years of precious data.

jailandrade, to random
@jailandrade@mastodon.social avatar
jailandrade,
@jailandrade@mastodon.social avatar

@categulario eso parece, aunque no es el unico oficial pero sirve bastante que ya lo soporten ahora solo falta cambiar #mysql por #postgresql

mrterrillo, to macos

🚨New App Alert 🚨

@brevebase is a new MySQL Database client for macOS. Connect to multiple databases, both local and remote. Additionally, it offers the convenience of quickly charting your tables.

Currently in Beta via TestFlight. https://testflight.apple.com/join/hwKvAS7f

image/png

anders, to llm
@anders@thoresson.social avatar

Seeing what many do with local #LLM, I’m growing an itch to learn #Python.

I haven’t really written any code for 20 years, but back then actually built a web based photo sharing service for my family, using #PHP and #MySQL.

Given at least a fundamental understanding of what #programming is, what are good resources to get started with Python?

thomas, to random
@thomas@metalhead.club avatar

EasyRSA makes handling an own x509 CA sooo easy, for example if you need a PKI for your MariaDB Galera Cluster or non-public facing stuff like that. 😍

https://github.com/OpenVPN/easy-rsa/blob/master/README.quickstart.md

#easyrsa #rsa #encryption #galera #mysql #cluster #mariadb

governa, to linux
@governa@fosstodon.org avatar
xakan, to random French
@xakan@social.zdx.fr avatar

Ça fait longtemps que j'ai pas râlé sur #MySQL

Mais sache qu'aujourd'hui, je râle très très fort.

governa, to ubuntu
@governa@fosstodon.org avatar
gabidavila, to python

Friends, now that people are aggregating together, which conferences should I keep an eye on for submissions? My content goes beyond databases fundamentals, language agnostic. I can cover automation, schema tracking, observability, etc.

Also Vector databases.

governa, to ubuntu
@governa@fosstodon.org avatar
michael, to PostgreSQL
@michael@thms.uk avatar

TIL about lateral joins in SQL:

https://sqlfordevs.com/for-each-loop-lateral-join

Pretty cool!

#SQL #MySQL #PostgreSQL

leanpub, to SQLServer
@leanpub@mastodon.social avatar

The bundle Python & SQL BootCamp Bundle by GitforGits | Asian Publishing House is on sale on Leanpub! Its suggested price is $59.98; get it for $39.20 with this coupon: https://leanpub.com/b/pythonsql/c/LeanpubMonthlySale2023Oct #SqlServer #Postgresql #Databases #Mysql #Apis

ck, to random
@ck@noc.social avatar

Due to a compatibility issue of an application, the underlying database needed to be replaced by a 8 community database. But when the dump was about to be restored from MariaDB (10.5) into MySQL 8.x, the data import failed.

https://www.claudiokuenzler.com/blog/1354/mariadb-mysql-dump-restore-error-3105-HY000

nevada, to Java
@nevada@mstdn.social avatar

I think of doing a web app for managing your personal comic-book collection. It should let you add titles with essential data (writer(s), artist(s), editor, cover art, ratings (with stars), reviews...), read, edit, and delete those data.

It would be made with #Java+#SpringBoot, server-side rendered with a templating engine (#Thymeleaf), and use a #MySQL DBMS. This way you could run it locally, self host privately and/or share everywhere. FOSS licensed of course.

Opinions? :)
#ComicBooks

kerfuffle,
@kerfuffle@mastodon.online avatar

@nevada Why would you use Spring Boot?

#Java #SpringBoot #Thymeleaf #MySQL #ComicBooks

parigotmanchot, to php French
@parigotmanchot@mastodon.social avatar

#Shaarli: Configure a WEB site (PHP-Apache-Mysql) in 5 minutes with Docker - Doc4Dev - Apache + PHP + MySQL en Docker très simplement.
PHPMyAdmin : https://doc4dev.com/en/install-phpmyadmin-for-mysql-under-docker-with-docker-compose/

Autre exemple identique ou presque avec des options plus poussées : https://www.bgs-associes.com/configurer-une-application-avec-apache-php-mysql/ : https://doc4dev.com/en/create-a-web-site-php-apache-mysql-in-5-minutes-with-docker/ #php #apache #mysql

nurkiewicz, to random
@nurkiewicz@fosstodon.org avatar

This caught me off guard in #MySQL. The following query works as expected:

update people  
set weight = 70, height = 175  
where fname = 'Adam' and lname = 'Smith'  

This one sets weight to 0 and doesn't modify height. Can you tell why?

update people  
set weight = 70 and height = 175  
where fname = 'Adam' and lname = 'Smith'  
xahteiwi, to random
@xahteiwi@mastodon.social avatar

Errrrr so if I run #MySQL 8.0.34 with --disable-log-bin then mysqldump errors out with 2061: "RSA Encryption not supported"?

Closeup of a man blinking, indicating surprised confusion.

linuxiac, to microsoft
@linuxiac@mastodon.social avatar

Microsoft Announces the Sunset of Azure Database for MariaDB
https://linuxiac.com/microsoft-announces-the-sunset-of-azure-database-for-mariadb/

Time’s ticking for Azure MariaDB users. By 9/19/2025, all workloads will be gone. Microsoft recommends migrating to Azure MySQL.

#microsoft #azure #mariadb #mysql

xahteiwi, to random
@xahteiwi@mastodon.social avatar

#MySQL question:

If

  • I'm running small MySQL 8 instances in Kubernetes, and
  • they don't use any replication at all, ever, and
  • they have an RPO of several hours in the past (meaning: if they break, they can just be redeployed and re-populated from a backup that is a few hours old, and there is an automated procedure for that, which runs several times a day),

then

  • is there any reason to run with binlogs enabled?
chrisarter, to random
@chrisarter@phpc.social avatar

Anyone tried Bolt SQL in the wild yet? Looks pretty dope.

alessandrolai, to random Italian
@alessandrolai@phpc.social avatar

Gentle reminder: the last #MySQL 5 version (5.7) will be end of life by the end of next week

https://endoflife.software/applications/databases/mysql

#EOL

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