Sqlserver for linux 破解内存最小3.25G的限制

cd /opt/mssql/bin/
mv sqlservr sqlservr.old
python
a = open("sqlservr.old", "rb").read()
b = a.replace("\x80\x10\xb7\xc1", "\x00\x80\x84\x1e")
open("sqlservr", "wb").write(b)
exit()
chmod +x sqlservr
sudo /opt/mssql/bin/mssql-conf setup

发表评论

电子邮件地址不会被公开。 必填项已用*标注