Work Notes: Run MySQL 8 for UserLAnd for Prisma/Next.js projects


New Day: Wed Sep 06 2023 22:25:30 GMT-0500 (Central Daylight Saving Time)

New Day: Thu Sep 07 2023 11:30:20 GMT-0500 (Central Daylight Saving Time)

i am getting the error

E: Package ‘mysql-server’ has no installation candidate

Note, I am using Debian instance from UserLAnd.

Apparently,

mysql has been replaced by mariadb in Debian10.

So, I ran

i I am getting this error message:

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/run/mysqld/mysqld.sock’ (2) debian “mariadb” “UserLAnd”

“”

And there’s no answer so I’m just going to give up and use SQLite.

Running MySQL and connecting it via connection is just too cumbersome on user land.

so I guess I got to figure out how to use a double run of SQLite and MySQL.

I guess if I had internet I can still like do it good but if I don’t have internet I’m going to need to use SQLite.

New Day: Sat Sep 09 2023 12:02:04 GMT-0500 (Central Daylight Time)

I couldn’t get MySQL 8 to run so I’m going to run SQLite. It would be dope if I could use Bun for this as there as native support for SQLite within Bun.


Leave a Reply