0

MySQL said: Documentation

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Rar!' at line 1

i got this error while importing my file " these are the first lines of my sql file"

-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Mar 24, 2022 at 03:49 PM
-- Server version: 10.4.21-MariaDB
-- PHP Version: 8.0.15

link of the file https://github.com/karimelhou/SQLFILE.git

jarlh
  • 40,041
  • 8
  • 39
  • 58
  • 1
    Any leading BOM? – jarlh Mar 30 '22 at 18:00
  • 1
    Extract your .sql file from .zip archive and try to import .sql file. Is it working? – L0ndl3m Mar 30 '22 at 18:04
  • This [link](https://stackoverflow.com/a/50271270/18620048) might be helpful. – L0ndl3m Mar 30 '22 at 18:10
  • 1
    The "Rar!" suggests that the file may be in an archive format? What you've uploaded isn't, but maybe you extracted it first or something? Certainly those characters don't show up (hidden or otherwise) in what you've provided, so I'd guess something else is going on – ADyson Mar 31 '22 at 08:16

0 Answers0