Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Npgsql.NpgsqlException: Failed to establish a connection
- to '177.195.43.242'. --->
- System.Security.SecurityException: Request for the
- permission of type 'System.Net.SocketPermission,failed.
- <?php
- if(!@($conexao=pg_connect ("host=177.193.40.222
- dbname=bdteste port=5438 user=admin password=xxxxx"))) {
- print "Não foi possível estabelecer uma conexão com o banco de dados.";
- } else {
- pg_close ($conexao);
- print "Conexão OK!";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement