+ 7

Why I can not import an SQL file? And How to solve it?

I tried to import an SQL file, The database will integrate/connect to a website application How to solve it? Should I create a certain new database first and then import all of that SQL files in one database? How many database i should use? How to find/recognize which database name I should use? Additional Information: I'm using: 1. Google App Engine https://ibb.co/bS8vA9 2. dev_appserver.py https://ibb.co/fobhq9 3. Screenshot image of app\database.inc https://ibb.co/bLsYxp 4. Screenshot image of xampp\phpMyAdmin\config.inc.php https://ibb.co/hNe2q9 This question related to: https://www.sololearn.com/Discuss/1470358/how-to-enable-access-for-user-root-localhost-and-what-s-the-meaning-of-stack-trace-0-how-to-solve-it

25th Aug 2018, 2:42 AM
Adi Pratama
Adi Pratama - avatar
9 Réponses
+ 2
You should create your own database name, user and password. And then go to app/database.inc file to change the database name, user and password accordingly. And also set the correct host path, normally is localhost if you use the same hosting server database.
25th Aug 2018, 5:18 AM
Calviղ
Calviղ - avatar
+ 7
You’re gonna get more errors. You’re missing MODUL and HRD databases
25th Aug 2018, 3:20 AM
Toni Isotalo
Toni Isotalo - avatar
+ 6
Because you are not inside a database yet. You’re in the main menu. test or guestbook from the left.
25th Aug 2018, 2:46 AM
Toni Isotalo
Toni Isotalo - avatar
+ 3
Make sure your database user has the privilege all access to the database too from Privilege tab in phpMyAdmin.
25th Aug 2018, 5:23 AM
Calviղ
Calviղ - avatar
+ 2
Go to list of database names, select New to create a database with a new name. After create the database, select the database and choose Import tab to import your sql file.
25th Aug 2018, 5:13 AM
Calviղ
Calviղ - avatar
+ 2
I am agree with Calvin check it out your privileges to creates news databases
26th Aug 2018, 2:58 AM
bruno villalobos
bruno villalobos - avatar
+ 1
can u teach me Ruby.....in my college campus so... please.....
25th Aug 2018, 3:25 AM
Rameshwar Shivshette
Rameshwar Shivshette - avatar
+ 1
this is the best app for leaning sql
27th Aug 2018, 10:19 AM
roshan
+ 1
this is the best app for leaning sql
27th Aug 2018, 10:20 AM
roshan