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

  • Ayite Atiwoto (superjiffrey)

    Ayite Atiwot

    29 EYLÜL 2010
  • Call Me Howard

    Call Me Howa

    18 AĞUSTOS 2012
  • pendrop gaming

    pendrop gami

    4 ŞUBAT 2013