I have been trying to import the US.txt file into mySQL using the code on import. I am able to log into PHPMyAdmin just fine, but when I run ./import US.txt, I get the following error:
$ ./import US.txt PHP Fatal error: could not find driver in /home/ubuntu/workspace/pset8/vendor/library50-php-5/CS50/CS50.php on line 313
Fatal error: could not find driver in /home/ubuntu/workspace/pset8/vendor/library50-php-5/CS50/CS50.php on line 313
I have tried all the advice from after searching all over CS50 Stack Exchange. I have been stuck on this same issue for a week now. I must say as much as I LOVE the CS50 course, the IDE bugs for pset7/8 have wasted a lot of time when the opportunity cost of studying CS50 content is already so high!
Any ideas of how I could solve this?
version50
)? Don't look at the "IDE bugs" as wasted time. It is experience in what developers/programmers face every day! Also note that the pset8 exercise has changed in the 2017 CS50x, it now uses sqlite3 instead of mysql.