Hello Mr.Assad, I know that this video is 4 years old now, but I am having issues with the packages, specifically MySQL and Flask, as well as the entire App setup part of the video, could you possibly give me some updated instructions? Thanks in advance!
Im having trouble with mysql.server start. I downloaded flask-mysqldb but when I try and start it, it says command not fouund mysql. Any recommendations on what I should do?
@@willassad8670 thank you very much, with all your users who posted similar tutorials no one has ever described me! in this period of quarantine I have given myself to programming, but in reality I am a cook. I'm just asking you one last thing, the best python IDE for ubuntu 18.04?
Kali Crash the best IDE is hard to say. It is usually a preference by the programmer. I recommend downloading and playing around with 4-5 IDEs and seeing which one you like best. PyCharm, Wing, Spyder, eric, Atom... all preference (I personally use Atom and PyCharm)
im running into a problem installing flash_mysqldb. is there any way i can contact you i really need help on this i have tried for hours now to fix it but i just cant get it to work, thanks.
@Pavel Zarev i got it fixed if you already pip installed flask_mysql do pip install flask_mysql and copy the directory where it says its installed and make that a path
If you are on windows this is the solution that worked for me: Download MySQL form their site downloading "Windows (x86, 32-bit), MSI Installer" the biggerst version from the two Then set it up with the full options and I used "root" as a password and username Go into the command prompt and type "cd\" Searching if MySQL is running with the command "net start" If it is not running thus you are not finding it in the list then type "services.msc" and manually start it Then type "dir mysqld.exe /s /p" and you should find something like "Directory of C:\Program Files\MySQL\MySQL Server 8.0\bin" Change directory with (in this case) "cd C:\Program Files\MySQL\MySQL Server 8.0\bin" You should be ready to go with "mysql.exe -uroot -p" Enter the password in my case I have not change it thus "root" And you should be in, this is what worked for me, hope will help
@@pietrocasavecchia6007 Hi there, when I type "mysql.exe -uroot -p" , i get a message of C:\>mysql.exe -uroot -p 'mysql.exe' is not recognized as an internal or external command, operable program or batch file. How may i change this?
@@sahilmaharaj3699 Hi, I see three options: check if MySQL is running if not active it manually the other option is to reinstall MySQL, I have downloaded it with almost full capabilities the last is to check if the file is correctly placed in the standard location. Else try to restart all from the beginning if you follow the steps of my previous comment it should works.
I'm not familiar with the MySQL client for Windows. Short summary: you will need to use a different library instead of flask-mysqldb: dev.mysql.com/doc/connector-python/en/connector-python-installation.html
@@munitagupta5280 No, he does import it with '_', which is fine. The small mistake Laiba made, was that she tried to import "flask_mysql", when the library she meant is called "flask_mysqldb" (or "flask-mysqldb", they're the same thing). You can see that this is indeed what he types at 5:16 Ik I'm late, but I hope that helped! :)
mysql.server start mysql.server : The term 'mysql.server' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. + mysql.server start + ~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (mysql.server:Stri ng) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Hey Ive been getting the module not found error for passlib. I have imported it even using the pip3 command, yet getting error Can anyone help me out with a solution
Think you're missing the MySQL installation part... :)
Hello Mr.Assad, I know that this video is 4 years old now, but I am having issues with the packages, specifically MySQL and Flask, as well as the entire App setup part of the video, could you possibly give me some updated instructions? Thanks in advance!
Is it possible to do this without a mysql server? or by using sqlite3?
Sir may i ask what is the use of placing the two headers in app.py? Thank you very much.
Im having trouble with mysql.server start. I downloaded flask-mysqldb but when I try and start it, it says command not fouund mysql. Any recommendations on what I should do?
tried everything in the description as well
having the same problem
are you using windows or mac
@@icystudios5495 I'm using windows anyway I managed to solve the problem, if you are still searching for a solution I'm happy to help
@@icystudios5495 mac
@Will Assad hi, can I ask you what are the programs used beyond atom to create the whole thing?
We are using python as our back end and flask with html as the front end. MySQL is the database we are using to store the blockchain
@@willassad8670 thank you very much, with all your users who posted similar tutorials no one has ever described me!
in this period of quarantine I have given myself to programming, but in reality I am a cook.
I'm just asking you one last thing, the best python IDE for ubuntu 18.04?
Kali Crash the best IDE is hard to say. It is usually a preference by the programmer. I recommend downloading and playing around with 4-5 IDEs and seeing which one you like best. PyCharm, Wing, Spyder, eric, Atom... all preference (I personally use Atom and PyCharm)
@@willassad8670 🙏🙏🙏,
Grazie mille.
Kali Crash prego
im running into a problem installing flash_mysqldb. is there any way i can contact you i really need help on this i have tried for hours now to fix it but i just cant get it to work, thanks.
@Pavel Zarev i got it fixed if you already pip installed flask_mysql do pip install flask_mysql and copy the directory where it says its installed and make that a path
@@moggyval3320 How do you "make it a path"?
(base) C:\Users\mmansour>mysql.server start
'mysql.server' is not recognized as an internal or external command,
operable program or batch file.
If you are on windows this is the solution that worked for me:
Download MySQL form their site downloading "Windows (x86, 32-bit), MSI Installer" the biggerst version from
the two
Then set it up with the full options and I used "root" as a password and username
Go into the command prompt and type "cd\"
Searching if MySQL is running with the command "net start"
If it is not running thus you are not finding it in the list then type "services.msc" and manually start it
Then type "dir mysqld.exe /s /p"
and you should find something like "Directory of C:\Program Files\MySQL\MySQL Server 8.0\bin"
Change directory with (in this case) "cd C:\Program Files\MySQL\MySQL Server 8.0\bin"
You should be ready to go with "mysql.exe -uroot -p"
Enter the password in my case I have not change it thus "root"
And you should be in, this is what worked for me, hope will help
@@pietrocasavecchia6007 Hi there,
when I type "mysql.exe -uroot -p" , i get a message of
C:\>mysql.exe -uroot -p
'mysql.exe' is not recognized as an internal or external command,
operable program or batch file.
How may i change this?
I believe the problem may be in MYSQL Installer, when typing root the option to check is unavailable :(. Any ideas?
@@sahilmaharaj3699 Hi, I see three options: check if MySQL is running if not active it manually the other option is to reinstall MySQL, I have downloaded it with almost full capabilities the last is to check if the file is correctly placed in the standard location. Else try to restart all from the beginning if you follow the steps of my previous comment it should works.
@@pietrocasavecchia6007 I was about to give up then I found this. THE BEST!!!!!!!!! Thanks
I'm a Windows user and it's not working. I've tried the steps below in the comments but its still not working. Can you please help me?
I'm not familiar with the MySQL client for Windows. Short summary: you will need to use a different library instead of flask-mysqldb: dev.mysql.com/doc/connector-python/en/connector-python-installation.html
NameError: name '_mysql' is not defined
after i running it, he returnes this error
Hi, After running this code getting the error: No module name "flask_mysql", why?
its not '_' its '-' ; ie- flask-mysql
@@munitagupta5280 No, he does import it with '_', which is fine. The small mistake Laiba made, was that she tried to import "flask_mysql", when the library she meant is called "flask_mysqldb" (or "flask-mysqldb", they're the same thing). You can see that this is indeed what he types at 5:16
Ik I'm late, but I hope that helped! :)
mysql.server start
mysql.server : The term 'mysql.server' is not recognized as the
name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
+ mysql.server start
+ ~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (mysql.server:Stri
ng) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Hey Ive been getting the module not found error for passlib. I have imported it even using the pip3 command, yet getting error
Can anyone help me out with a solution
I figured it out go to the hash.py file in passlib and add
def sha256_crypt():
pass
If a sha256 function isn't there
just but this in terminall and inshalah will fix the problem
pip install --upgrade passlib
From Where can i get the password file?
It wont even print for me, but I have no errors
it says restarting with stat but then the program ends
never mind, it fixed when i ran it in cmd
having alot of problems with flask_mysqldb
With the installation? There’s a lot of resources on stack overflow. Common proboem
@@willassad8670 yeah the installation wont allow me to full install mysqldb. I get the red waning error on the powershell. Can i use SQLalchemy?
Dashawn Lyons Yes you can but the syntax will be different.
bro ım got a syntax error for the app part. is there any way to fix this ?
@Onurcan Emen pls subscribe me