MS SQL for Beaglebone black Debian
sudo apt-get --assume-yes update
sudo apt-get --assume-yes install freetds-dev freetds-bin
it would take some time on processing triggers for man-db ...
sudo apt-get --assume-yes install python-dev python-pip
sudo pip install pymssql
gcc take some times...be patient....
imported with no error
when using MSSQL account I got error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pymssql.pyx", line 641, in pymssql.connect (pymssql.c:10788)
pymssql.OperationalError: (40615, "Cannot open server 'tiked' requested by the login. Client with IP address '123.50.61.133' is not allowed to access the server. To enable access, use the Windows Azure Management Portal or run sp_set_firewall_rule on the master database to c reate a firewall rule for this IP address or address range. It may take up to five minutes for this change to take effect.DB-Lib error message 40615, severity 14:\nGeneral SQL Server error: Check messages from the SQL Server\nDB-Lib error message 20002, severity 9:\nAdaptive Server connection failed\n")
So, there are firewall work to to....
So, logging into Azure, and search setting, the IP record is already there, press add to allow access, and still need to press save for active the IP.
then run again, this time no error message
留言
張貼留言