2 - PythonAnywhere Account and create MySQL database
HTML-код
- Опубликовано: 26 авг 2020
- Signing up for a free PythonAnywhere beginner account. Creating an initial MySQL database. Using bash console to initially connect to the database and start the MySQL console and then dropping the database before re-creating it for continued use in upcoming videos.
Наука
well explained and easy to follow. Thank you.
thank you for making this video because this very helpful to me
Thank you for this tutorial. It is well explained and very easy to follow.
Thanks Cynthia. I appreciate the feedback.
really good tutorial, thank you!
Thanks Thanks Thanks a lot
thanks
Nice smile there :)
do you just press Enter and it execute a command such as pip install mysql-connector in the database bash console? for mine, it won't execute.
You should be able to use: pip install --user mysql-connector in the main Bash (not MySQL) console.
so is the file name dbsqlit3 will be changed or the pythonanywhere will use MySql database ?? i am not actually getting it !
The full filename of the database is username$databasename. It's always your username + a $ sign + whatever you named your database when you created it. Where are you seeing dbssqlit3? If that's what you named it, it would be: yourusername$dbsqlit3. You can't access the db outside of PA without a paid version, but you can run queries in the console or use a Python driver like mysql.connector to connect and communicate with it using Python.
I am getting ERROR 2026 (HY000): SSL connection error: unknown error number. Any Idea how to resolve this?
How to use this with local machine?
You could certainly use Terminal on the Mac or Powershell or Command Prompt on Windows (I believe) and install MySQL and run your BASH commands just like in the PythonAnywhere console.
thanks