id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,cpu,platform 2819,v.db.renamecolumn mysql error,fpouw,grass-dev@…,"The SQL in the v.db.renamecolumn package is not correct for mysql Adding the following elif command to the ""#some tricks"" section enables renaming (at least for varchar column type. I didn't test it for other types) elif driver in ['mysql']: if oldcoltype.upper() == ""CHARACTER"": newcoltype = ""varchar(%s)"" % (oldcollength) else: newcoltype = oldcoltype sql = ""ALTER TABLE %s CHANGE %s %s %s"" % (table, oldcol, newcol, newcoltype) grass.write_command('db.execute', input = '-', database = database, driver = driver, stdin = sql)",defect,closed,normal,7.0.3,Database,7.0.2,fixed,rename column mysql,,x86-64,Linux