Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

How to install mysql-server on Debian?

+2
−0

With Debian 12, it seems that mysql-server is not available in the "default" package distribution and thus, cannot be installed with sudo apt install mysql-server or sudo apt-get... (I know that mariadb-server can be installed with these methods).

Is there a way to install mysql-server on Debian?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

Why, though? (3 comments)
Please add more information (2 comments)

1 answer

+3
−0

MySQL is not fully open source and maintained by a corporation which was at one time regarded as very evil (there are much worse ones now). Debian is trying to protect you from yourself by not letting you install it.

MariaDB is a project developed from forked MySQL code, and designed to be a drop in replacement for MySQL in such situations. Debian wants you to use that instead. It's not a bad idea.

You can also run a Docker image of MySQL, if you discover some obscure bug where something works in MySQL but not in MariaDB.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »