我的组织正在使用简单会计(SA)作为大型项目的会计系统。 我看到它使用MySQL作为后端数据库。 我想直接从数据库中取出一些数据,而不是通过SA的接口。
有没有一种方法,我可以嗅出SA正在使用的用户名和密码? 或者,我怎样才能将自己的帐户添加到数据库中,并完全避免这一切?
知道了…发现这里(现在打破)或archive.org
我没有find如何嗅探用户名,但我确实发现它是什么和连接信息的其余部分。
connection type: TCP username: sysadmin password: ''// <-- default is blank database: simply host: myMachineName port: ###### ''// You can get this using the following procedure 1. Open Simply Accounting 2. Go to Help->About Simply Accounting [blah blah blah] 3. Click on "Support Info" 4. look in the top-right corner of the Support Info window, you will see a region labelled "Database Engine". The Port is listed at the bottom.
刮去。
注意,SA必须打开才能连接到它。
你想读这个页面关于添加用户帐户到MySQL。 然后,您要添加一个用户并授予他们SA数据库的完整权限。
如果您可以启动/停止SA系统的MySQL服务器,可以使用选项–skip-grant-tables重新启动它,在不知道root密码的情况下连接到通常的mysql客户端并创build必要的用户。
不要忘记在不使用–skip-grant-tables的情况下重新启动MySQL,以closures其他服务器。