Yes most of the configuration is held in one field of the multigraph table in mySQL, much like the apps module.
Picking one of my multigraphs at random, I see this in the “feedlist” field of the multigraph table
[{"id":"100102","tag":"1","name":"L1-solar_power","datatype":"1","left":true,"right":false,"fill":false,"end":0,"skipmissing":false,"lineColour":"ff0000","stacked":true,"autorefresh":"5","showtag":false,"timeWindow":86400000},{"id":"100136","tag":"2","name":"L2-solar_power","datatype":"1","left":true,"right":false,"fill":false,"end":0,"skipmissing":false,"lineColour":"ffff00","stacked":true},{"id":"100170","tag":"3","name":"L3-solar_power","datatype":"1","left":true,"right":false,"fill":false,"end":0,"skipmissing":false,"lineColour":"0080ff","stacked":true},{"id":"100094","tag":"1","name":"L1-solar_current","datatype":"1","left":false,"right":true,"fill":true,"end":0,"skipmissing":false,"lineColour":"ff8080"},{"id":"100128","tag":"2","name":"L2-solar_current","datatype":"1","left":false,"right":true,"fill":true,"end":0,"skipmissing":false,"lineColour":"ffff80"},{"id":"100162","tag":"3","name":"L3-solar_current","datatype":"1","left":false,"right":true,"fill":true,"end":0,"skipmissing":false,"lineColour":"7dbeff"}]
and querying that same multigraph id via the api
https://myserver.com/vis/multigraph/get.json?id=100002
{"name":"3phaseSolar","feedlist":[{"id":"100102","tag":"1","name":"L1-solar_power","datatype":"1","left":true,"right":false,"fill":false,"end":0,"skipmissing":false,"lineColour":"ff0000","stacked":true,"autorefresh":"5","showtag":false,"timeWindow":86400000},{"id":"100136","tag":"2","name":"L2-solar_power","datatype":"1","left":true,"right":false,"fill":false,"end":0,"skipmissing":false,"lineColour":"ffff00","stacked":true},{"id":"100170","tag":"3","name":"L3-solar_power","datatype":"1","left":true,"right":false,"fill":false,"end":0,"skipmissing":false,"lineColour":"0080ff","stacked":true},{"id":"100094","tag":"1","name":"L1-solar_current","datatype":"1","left":false,"right":true,"fill":true,"end":0,"skipmissing":false,"lineColour":"ff8080"},{"id":"100128","tag":"2","name":"L2-solar_current","datatype":"1","left":false,"right":true,"fill":true,"end":0,"skipmissing":false,"lineColour":"ffff80"},{"id":"100162","tag":"3","name":"L3-solar_current","datatype":"1","left":false,"right":true,"fill":true,"end":0,"skipmissing":false,"lineColour":"7dbeff"}]}
It looks very much like the bit you want is the “feedlist” content from that reply to insert in mysql (I haven’t checked it char by char, but it looks pretty similar)
Although you may well be fine with this operation, I usually try to use api’s where I can to avoid directly editing the mySQL because sometimes the system works against you, redis, indexes, live updates etc etc all mean your updated fields might not get seen or get overwritten, but it’s definately worth a try if you are able to swap over all the feed ids.