# <i class="fa fa-database" style="color:#0029f0;"></i> Support Database Login The support database login is necessary for Tier 2 support. It allows them to authenticate and login to Sugar to create support tickets. Connection Diagram --- ```graphviz digraph structs { node [shape=record,fontname=Arial,fixedsize=shape]; struct1 [width=0,height=0,margin=0.15,style="filled",fillcolor="#EBEEF2",fontcolor=Black,label="{ Login | (/support/dbaccess/login/index.php) }"]; struct2 [label="<f0> application_top.php|<f1> sugarRest.php"]; struct3 [margin=0.15,label="{ database_mysql.class.php | general.funcs.php | template.funcs.php | html_output.funcs.php | var.funcs.php | downloads.funcs.php | licenses.funcs.php | fdn.funcs.php | rates.funcs.php | databaseManager.php | timeZoneManager.php | fishbowlManager.php | releaseManager.php | sugarManager.php | supportManager.php | validateEmail.php }"] struct4 [margin=0.25,label="{ rest.php | curl.php }"] struct5 [label="Success"] struct1 ->struct2:f0 struct1 ->struct2:f1 struct2:f0 ->struct3 struct2:f1 ->struct4 struct3 -> struct5 struct4 -> struct5 } ``` --- This is a complex component. It needs to be rearchitected and simplified. There is a substantial amount of legacy code that is interwoven and can be removed, but to do so will require much of the essential code to be rewritten. The current configuration causes multiple problems for the website and creates vulnerabilities.