Check the content and the length of certain input data and MySQL database and table names (into develop)

"Twin" of PR #120