MySQL Warning: Using unique option prefix u instead of user is deprecated

I have a script to dump the sql database to file. Now i get the message:
Warning: Using unique option prefix u instead of user is deprecated and will be removed in a future release. Please use the full name instead.

In my script I specified the user like this: –u daniel

My solutions to the problem was to change it to: –user=daniel

Leave a Comment