inline connecting: mysql -u user_name -ppassword database_name
connect form outside: mysql -h ip_adress -u user_name -ppasword db_name
mysqldump -h [hostname] -u [user] -p[password] [database_name] > [backupfile].dumpmysql -h [hostname] -u [user] -p[password] [database_name] < [backupfile].dump
Ierakstīt komentāru
3 komentāri:
inline connecting: mysql -u user_name -ppassword database_name
connect form outside: mysql -h ip_adress -u user_name -ppasword db_name
mysqldump -h [hostname] -u [user] -p[password] [database_name] > [backupfile].dump
mysql -h [hostname] -u [user] -p[password] [database_name] < [backupfile].dump
Ierakstīt komentāru