mysql - SQL cmd remote connection and database import -


i need access external database import sql file through windows cmd. line not working , i´m wondering what´s problem since must easiest way it. want way becausei´m told solve problem of importing sql database file exceeds limitation size , don´t have access php.ini

mysql -u user -p pass --host=ip databasename| file.sql 

i believe default behaviour of mysql not permit remote access - have owner set (and modify firewall approprite).

i'm sure obvious, anyway... need have mysql installed on machine, , pretty sure have watch versions (i think there may switch connect different version).


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -