Sign inSign up

pyarza/msphpsql

By pyarza

Updated about 9 years ago

My version of MICROSOFT msphpsql

Image
0

938

pyarza/msphpsql repository overview

SQL Server PHP Readme

Based on repo from MS:

https://github.com/Microsoft/mssql-docker/tree/master/oss-drivers/msphpsql

Notes on how to get SQL Server remote access running from a linux (ubuntu) machine

tis one has to be checked also: https://github.com/Microsoft/msphpsql/blob/PHP-7.0-Linux/LinuxTutorial.md

Make it work

  1. Fork or download the source code (git)
  2. Open a docker console
  3. go to the repository root folder and follow steps below

To create the image

docker build .

To run the image

docker run -it pyarza/msphpsql

From inside the image:

sqlcmd -S 192.168.15.203 -U py -P mypassword -q "use [2017178_SunshineCoast]; select top 5 * from dbo.locators;"

or

sqlcmd -S pmsqld-sql1 -U py -P mypassword -q "use [2017178_SunshineCoast]; select top 5 * from dbo.locators;"

Still not able to connect with a domain user. Something like:

sqlcmd -S pmsqld-sql1 -U fugropmsau/pyarza -P mypassword -q "use [2017178_SunshineCoast]; select top 5 * from dbo.locators;"

doesn't work

Tag summary

Content type

Image

Digest

Size

234.9 MB

Last updated

about 9 years ago

docker pull pyarza/msphpsql