Hello I'm trying to make a Shell script in opensuse to create MySqlUsers but when I try to run it I get this error:
Warning: Could not start program '/home/thomas/Scripts/MySqlCreateUser.sh' with arguments '/home/thomas/Scripts/MySqlCreateUser.sh'.
Warning: Exec format error
Any Idea what I can do?
I'm guessing you are trying to start this from a KDE menu item.
You need to make sure that:
#!/bin/bash
)chmod +x /home/thomas/Scripts/MySqlCreateUser.sh
)