I thought this would be simple because of this MySQL tutorial by pythonanywhere, but I'm still having trouble switching over from sqlite3. I'm a beginner to SQL databases, and I've been checking out other stackoverflow questions but I'm not sure where else to go from here. Here's what I've done so far.
settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '3DPrince$ubodb',
'USER': '3DPrince',
'PASSWORD': 'secretpassword',
'HOST': '3DPrince.mysql.pythonanywhere-services.com',
},
}
I've also run the following to try and sync the db.
manage.py makemigrations
manage.py migrate
I'm still getting the error that
(1146, "Table '3DPrince$ubodb.django_site' doesn't exist")
I'm not sure what else to do from here and I'm not sure how to do any sort of checks from the mysql bash console.
Can anyone point out what I'm doing wrong? Or maybe some useful mysql bash commands to check the connection or manually remake the db?