[MDEV-14416] Installing mariadb 10.2 in a fresh system shows error Created: 2017-11-16 Updated: 2017-11-16 Resolved: 2017-11-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Debian |
| Affects Version/s: | 10.2.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | gowtham | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | Compatibility | ||
| Environment: |
debian 8 , VPS , 8 GB ram |
||
| Issue Links: |
|
||||||||
| Description |
|
I followed this link for installing mariadb-server 10.2 . i have added repo.list and keys.But ended up with the following error message
But mariadb-server 10.0, 10.1 are installing and working fine . |
| Comments |
| Comment by Elena Stepanova [ 2017-11-16 ] | ||
|
Did you have on this machine 10.1 MariaDB server installed from the Debian default repo before switching to 10.2? | ||
| Comment by gowtham [ 2017-11-16 ] | ||
|
no , it was fresh VPS . if i remove my old my.cnf file and install 10,2 it is installing . but without my.cnf how can i add replication and all other things? | ||
| Comment by Elena Stepanova [ 2017-11-16 ] | ||
|
If there was no MariaDB / MySQL before, how come you have an old my.cnf file? | ||
| Comment by gowtham [ 2017-11-16 ] | ||
|
when i end up with this error , i uninstalled mariadb-server .but my.cnf was there inside /etc/mysql/. so i removed my.cnf . and re installed mariadb . it worked . It didnt create my.cnf automatically . | ||
| Comment by gowtham [ 2017-11-16 ] | ||
|
is there anything i should do ? please suggest me .Even i tried with reloading os in VPS . fresh debian installation . Again i tried fresh installation of mariadb -server . it shows unable to set root password. | ||
| Comment by Elena Stepanova [ 2017-11-16 ] | ||
|
I asked you if you had a 10.1 server, you said that no, you had a clean VPS. Now you are saying that you did have some mariadb-server which you uninstalled. If you want something resembling a clean installation, Then try to install. | ||
| Comment by gowtham [ 2017-11-16 ] | ||
|
Results are : | ||
| Comment by Elena Stepanova [ 2017-11-16 ] | ||
|
Okay, I see. | ||
| Comment by gowtham [ 2017-11-16 ] | ||
|
i commented out WARNING: The host 's6' could not be looked up with /usr/bin/resolveip. Installation of system tables failed! Examine the logs in | ||
| Comment by Elena Stepanova [ 2017-11-16 ] | ||
|
Okay, that's a bit confusing. Just in case the directory got damaged by the previous failed attempt, keep the option commented, and run
If it doesn't work this way, then you probably have permission problems on /var/lib/mysql. But if it helps and mysql_install_db works, please let us know what df -kT /var/lib/mysql say. | ||
| Comment by gowtham [ 2017-11-16 ] | ||
|
root@s6:/rm -rf /var/lib/mysql/* yes that worked root@s6:/var/lib/mysql# df -kT /var/lib/mysql Thank you | ||
| Comment by Elena Stepanova [ 2017-11-16 ] | ||
|
Thanks. ext3 confirms that you've encountered the bug |