stock to mysql