I tried installing MySQL Server in my Kali Linux but when I ran this command
apt-get install mysql-serverThis error comes
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mariadb-server-10.1Is there no packages for MySQL Server for Kali Linux rolling?
2 Answers
MySQL is installed and configured by default in Kali. Are you trying to install a different version?
If the problem is in starting MySQL, one can find very many sources that describe it.
See for example the article Start MySQL and Apache in Kali Linux.
1Actually, for Kali Linux the apt-get install mysql-server command will not work, but try with apt-get install mariadb-server.
This will install MySQL
3