Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. COAnson, Thanks, but I tried those too: mysqldump -u root -p myDBname myTableName > myTestDumpedTable.sql & mysqldump --user=root -p myDBname myTableName > myTestDumpedTable.sql ...with the same result: "myTestDumpedTable.sql: Permission denied." It never prompts me for a password on my local dev setup and I assumed (since last time I was educating myself on running a MySQL install) that is because I never set up a password for the root user. For certain I never need a password when I log into MySQL with "-uroot". That is fine with me since it is just me on this dev machine.
      singulars
    2. CO@govinda Ok, it's possible that you're authenticating to mysql just fine. Upon second inspection, it seems like your "permission denied" error might refer to the fact that you don't have write permission in the current directory. Are you running the command as the root user (type `whoami` before running the command)? Try running as root and being in the root user's home directory when running the command.
      singulars
    3. COOK, I tried this: when I type `whoami`, I get my username `Govind`. So then, to try your suggestion, I use `su` to be the root user, fine.. and then `mysqldump -uroot -p myDBname myTableName > myTestDumpedTable.sql` produces `sh: mysqldump: command not found`, which is odd because it does produce a zero-KB file named "myTestDumpedTable.sql" in that dir. So then I try `cd /var/root` (Mac OS X), and again `mysqldump -uroot -p myDBname myTableName > myTestDumpedTable.sql` produces `sh: mysqldump: command not found`... again a zero-KB file named "myTestDumpedTable.sql", in /var/root.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload