mex Posted November 20, 2007 Report Share Posted November 20, 2007 Nu ir tādi faili *.sql . A man vajag importēt tādu failu uz mysql datu bāzi ! tāpēc es ķēros pie phpmyadmin ! un tur ir funkcija Import ! Tā jau viss būtu ok, ja tas *.sql fails nebūtu 137 MB liels ! un max ko es varu importēt caur phpmyadmin ir 2 MB ! Kā var vai nu palielināt importēšanas maximālo lielumu vai arī varbūt kāds zin kā savādāk dabūt to *.sql failu tā , lai varētu ielikt mysql datubāzē ? Link to comment Share on other sites More sharing options...
10BaseT Posted November 20, 2007 Report Share Posted November 20, 2007 upload_max_filesize from 2MB to something much higher. I tend to change it out ot 100MB :-) File upload size is controlled in PHP's configuration file, not the script's. You'll have to edit the php.ini file for your installation and change the upload_max_filesize directive to a larger value (the default is 2MB). Keep in mind that there's another variable called post_max_size that you might need to change depending on how big a file you want to upload (the default is 8MB). Link to comment Share on other sites More sharing options...
mex Posted November 20, 2007 Author Report Share Posted November 20, 2007 ahh ! nekas nenotiek ! kā rādīja par lielu, tā rāda ka par lielu ! kr4 darīju tā: nokopēju C:\AppServ\php5\php.ini-dist un ielīmēju tur pat ar nosaukumu php.ini tad atvēru C:\AppServ\php5\php.ini izmainīju tur post_max_size = 8M uz post_max_size = 8000000M un upload_max_filesize = 2M uz upload_max_filesize = 20000000M bet vienalga nekas nenotiek ! Izmēģināju dažādus skaitļus 800, 200, 1000, 9999999999999 u.c. Link to comment Share on other sites More sharing options...
vincister Posted November 20, 2007 Report Share Posted November 20, 2007 ...kā savādāk... lietojot kādu softwarisku MySQL adminēšanas rīku, nevis to PHP brīnumu Link to comment Share on other sites More sharing options...
mex Posted November 20, 2007 Author Report Share Posted November 20, 2007 amnnnn ! negribētu pateikt nosaukumu ? tas ir sqlkitd ? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now