Comments on: How To Use MySQL Commands without Password Prompt https://tecadmin.net/mysql-commands-without-password-prompt/ How to guide for System Administrator's and Developers Tue, 15 Dec 2020 03:11:35 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Rahul https://tecadmin.net/mysql-commands-without-password-prompt/#comment-56939 Tue, 15 Dec 2020 03:11:35 +0000 https://tecadmin.net/?p=13241#comment-56939 Hi Thesun,

I have tested this with a shell script and its working fine for me. Can you please provide more information about the issue.

]]>
By: Vasanth https://tecadmin.net/mysql-commands-without-password-prompt/#comment-52597 Mon, 20 Jul 2020 12:39:04 +0000 https://tecadmin.net/?p=13241#comment-52597 Hi Thesun,

Did you find any solution for this issue.

]]>
By: thesun https://tecadmin.net/mysql-commands-without-password-prompt/#comment-43980 Wed, 04 Dec 2019 15:06:01 +0000 https://tecadmin.net/?p=13241#comment-43980 This works fine if I type the mysql command directly into the command line. But it fails when the same mysql command is used inside a shell script. Is there something I need to do to get the script to recognize the my.cnf file?

]]>
By: Chirag Aggarwal https://tecadmin.net/mysql-commands-without-password-prompt/#comment-13707 Tue, 26 Jun 2018 15:46:08 +0000 https://tecadmin.net/?p=13241#comment-13707 Try adding the following content to .my.cnf

[mysqlimport]
user = myuser
password = secret

]]>
By: Larry https://tecadmin.net/mysql-commands-without-password-prompt/#comment-13392 Thu, 21 Jun 2018 22:07:14 +0000 https://tecadmin.net/?p=13241#comment-13392 The above works fine but fails to address the password prompt isue when mysqlimport is executed from within a shell script.

]]>