Jump to content
php.lv forumi

phpMyAdmin


alins

Recommended Posts

uzinstalee sev mysql serveri, iekopee shamos failus pie paareejaam datu baazeem (taas kas tiek izveidotas peec default), tad noraadi attieciigi lieotaajus, kam ieprieksh bija pieeja shai datu baazei..

peec tam jau mysqldump >sql.txt -u -p

vai arii ar phpmyadmin uz lokaalaa kompja eksportee datus..

Link to comment
Share on other sites

mysqldump --help

...

Usage: mysqldump.exe [OPTIONS]database [tables]

...

  -h, --host=name    Connect to host.

...

  -p, --password[=name]

                      Password to use when connecting to server.

...

  -u, --user=name    User for login if not current user.

...

tātad: mysqldump -h tulpe.lanet.lv/db -p -u lietotaajvaards db_nosaukums >dati.sql

Link to comment
Share on other sites

×
×
  • Create New...