Thank you so much @E-werd.
So, to conclude.
I won't touch the said file (debian.cnf)
Run the script below as you have mentioned.
mysql -u root -p
CREATE DATABASE throat;
CREATE USER 'throat'@localhost IDENTIFIED BY 'Pass1234';
GRANT ALL PRIVILEGES ON throat.* TO 'throat'@localhost;
exit
One last question: Is the mysql password the same as the root password? It's asking me for a password when I run mysql -u root -p
. Sorry if you found the question stupid. I'm really dumb in this.
There's linux root (as defined in /etc/passwd, the super user account on the system) and there's the mysql/mariadb root. They're two different things, the latter being specifically for mysql/mariadb.
Thanks again @E-werd. Got it.
cd scripts
./install.py
cd ..
nano wsgi.py
#socketio.run(app, debug=True, host='0.0.0.0')
When I run ./install.py, I get bash: ./install.py: No such file or directory
. The install.py isn't there obviously as can be seen here.
These are the only files available in the scripts directory.
__fix.py admins.py clean_subs.py defaults.py migrate.py
What should I do now? It's a clean install btw.
EDIT: Would it be save to make a copy of the install.py file?
Both. You shouldn't be changing the contents of that file anyway.