PHP5 CLI client for MSSQL database
2.2K
Can be used to test the MSSQL installation quickly.
Start the MSSQL server as follows:
docker run --name mssql -p 1433:1433 -d rsmoorthy/sql2000
From any of the clients, the service is available on the port 1433, user is "sa" and empty password
To test using this image, do as follows:
docker run --rm -it --link mssql:mssql rsmoorthy/php5-mssql php /root/test.php
which displays
Array
(
[0] => Array
(
[id] => 1
[0] => 1
[name] => hello world
[1] => hello world
)
)
Dockerfile at https://github.com/rsmoorthy/docker/blob/master/php5-mssql/Dockerfile
Content type
Image
Digest
sha256:b848edd7b…
Size
87 MB
Last updated
about 11 years ago
docker pull rsmoorthy/php5-mssql