Made mysql role more cross platform