SORU
20 Ocak 2012, Cuma


Nasıl bir SQL Çalıştır metin MySQL veritabanı dosyasını alabilir miyim?

MySQL için yeni duyuyorum. Bir metin dosyası içeren SQL sorguları çalıştırmak istiyorum.

source /Desktop/test.sql koşmaya çalıştım ve hata aldı

mysql> . \home\sivakumar\Desktop\test.sql ERROR: Failed to open file '\home\sivakumar\Desktop\test.sql', error: 2

CEVAP
20 Ocak 2012, Cuma


Eğer MySQL komut satırı mysql> Eğer source SQL dosyasını bildirmeniz gerekmektedir.

mysql> source \home\user\Desktop\test.sql;

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Eric Enge

    Eric Enge

    2 Kasım 2009
  • Julian Smith

    Julian Smith

    31 EKİM 2006
  • TechSmartt

    TechSmartt

    29 Aralık 2010