Jump to content
php.lv forumi

install


Mikijs

Recommended Posts

izmeginaju SQL, man viss bez kludam inportejas. Nezinu kas tur par problemu. Kadu kludas pazinojumu izmeta?

Bet neizskatas ka tas ir viss damps....

Un nafig vispar vajag to 212 rindinu?

Iieraksti ka $file="./sql.sql"; un miers majas.

To sql failu jau tapat tikai vienreiz janolasa pie instalacijas.

Ja ta veiksmiga, unlink to sql.sql

Edited by mounkuls
Link to comment
Share on other sites

sql es pilnu nevareju ievietot =/ jo php.lv meta erroru ka 30 sekunde pagaja ka parslogots utt ..

 

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' CREATE TABLE `address` ( `address_id` int(11) NOT NULL auto_incremen' at line 1

Link to comment
Share on other sites

sql es pilnu nevareju ievietot =/ jo php.lv meta erroru ka 30 sekunde pagaja ka parslogots utt ..

 

1. panjem to SQL failu ielade Notepad.exe ... ar CTRL+V izgriez pirmaas paris rindinjas (1 kveriju) un to arii iepostee.... nevis megjini posteet pilnu SQL dampu....

2. Esi 100% parliecinaats ka tev ir tiesiibas veidot tabulas?

3. Kaada tev ir SQL versija?

Edited by Grey_Wolf
Link to comment
Share on other sites

CREATE TABLE `address` (

`address_id` INT(11) NOT NULL AUTO_INCREMENT,

fragments no query taja linka.

Viss normali.

Drizak liekas, ka Grey_Wolf komentara 2. un 3. punkts.

Pasam ir bijis, ka neatbilst MySQL versijas lai importetu.

Skripta gan to dara PHP un nem tikai rindinas kas nav komentari.

Es gan parak neiedzilinajos vai tiesam viens query izveidojas ar PHP no rindinas sakuma lidz (;).

Ja ne, vaina varetu but ari tur.

Edited by mounkuls
Link to comment
Share on other sites

×
×
  • Create New...