Calling MySQL exe using PHP exec doesn't work

后端 未结 6 1095
一整个雨季
一整个雨季 2020-12-20 02:52

I have an extremely simple script with PHP exec, calling mysql command:

  $dbhost = \'localhost\';
  $dbuser = \'root\';
  $dbpass          


        
6条回答
  •  情歌与酒
    2020-12-20 03:18

    there should be no space between -p and mypass.

    BTW I suggest you use the form --password=mypass

提交回复
热议问题