auto generate mysql table for plugin in redhat script