The web says that Linux may have this problem, and that the SQL file import error as shown in the title. I used Windows and had the same problem.
The reason is the same: mysql imports SQL according to the relative path query. For example, When I open mysql in the WWW folder, I enter source Form /test.sql to query the file in the WWW folder.
Solution: Simple, use CMD to enter the folder where SQL files exist, then open mysql, and then import SQL files
The reason is the same: mysql imports SQL according to the relative path query. For example, When I open mysql in the WWW folder, I enter source Form /test.sql to query the file in the WWW folder.
Solution: Simple, use CMD to enter the folder where SQL files exist, then open mysql, and then import SQL files
Read More:
- Error in header file when calling OpenGL to open obj file in vs2013: unable to open include file: “GL / glut. H”: no such file or directories
- How to solve the problem of “unable to open include file:” graphics. H “: no such file or directory”
- Win10 vs 2017 prompt cannot open include file: “windows. H”: no such file or director
- In VS2010, the compiler cannot open the file “GL / glaux. H”: no such file or directory
- Vs fatal error C1083: unable to open include file: “sys / socket. H”: no such file
- Import / export. SQL file / gzip file for MySQL under Linux
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- Solution of vs unable to open source file and link library file
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory
- Cannot open include file: ‘io.h‘: No such file or directory
- Vs2019 OpenGL glut: error: unable to open include file: ‘GL / glut. H’: no such file or directory
- move_uploaded_file() failed to open stream: Permission denied
- Vivado Error: (vlog-7) Failed to open design unit file
- An idea to solve Warning move_uploaded_file, failed to open stream in the process of php uploading files
- Panda was unable to open the. Xlsx file, xlrd.biffh.XLRDError : Excel xlsx file; not supported
- ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
- When Python Django creates a database, can’t open file ‘ manage.py ‘: [Errno 2] No such file or directory
- A fatal error C1083 occurred when compiling C + + code under. Net: unable to open the include file: “xuhk”_ Jnihelloworld. H “: solution to no such file or directory error.
- Importerror of [docker] error: libGL.so .1: cannot open shared object file: No such file or directory
- Problem solving: importerror: libcublas.so .9.0: cannot open shared object file: No such file