{"action":"closed","issue":{"url":"https://api.github.com/repos/oneinstack/oneinstack/issues/195","repository_url":"https://api.github.com/repos/oneinstack/oneinstack","labels_url":"https://api.github.com/repos/oneinstack/oneinstack/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/oneinstack/oneinstack/issues/195/comments","events_url":"https://api.github.com/repos/oneinstack/oneinstack/issues/195/events","html_url":"https://github.com/oneinstack/oneinstack/issues/195","id":392092556,"node_id":"MDU6SXNzdWUzOTIwOTI1NTY=","number":195,"title":"why cant connect using pdo","user":{"login":"johnfelipe","id":428820,"node_id":"MDQ6VXNlcjQyODgyMA==","avatar_url":"https://avatars2.githubusercontent.com/u/428820?v=4","gravatar_id":"","url":"https://api.github.com/users/johnfelipe","html_url":"https://github.com/johnfelipe","followers_url":"https://api.github.com/users/johnfelipe/followers","following_url":"https://api.github.com/users/johnfelipe/following{/other_user}","gists_url":"https://api.github.com/users/johnfelipe/gists{/gist_id}","starred_url":"https://api.github.com/users/johnfelipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnfelipe/subscriptions","organizations_url":"https://api.github.com/users/johnfelipe/orgs","repos_url":"https://api.github.com/users/johnfelipe/repos","events_url":"https://api.github.com/users/johnfelipe/events{/privacy}","received_events_url":"https://api.github.com/users/johnfelipe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-18T10:34:17Z","updated_at":"2018-12-19T02:04:16Z","closed_at":"2018-12-19T02:04:16Z","author_association":"NONE","body":"I have this phpinfo: http://159.65.168.192/phpinfo.php\r\n\r\ni have this mysql;\r\n\r\n![snag-0167](https://user-images.githubusercontent.com/428820/50148423-772fb800-0286-11e9-9492-ecdd525bd4a4.png)\r\n\r\ni have this test\r\n\r\n\t<?php\r\n\t$servername = \"localhost\";\r\n\t$username = \"xxx\";\r\n\t$database = \"xxx\";\r\n\t$password = \"xxxx\";\r\n\r\n\t//  Create a new connection to the MySQL database using PDO\r\n\t$conn = new mysqli($servername, $username, $password);\r\n\r\n\t// Check connection\r\n\tif ($conn->connect_error) {\r\n\t\tdie(\"Connection failed: \" . $conn->connect_error);\r\n\t} \r\n\techo \"Connected successfully\";\r\n\t?>\r\n\r\nor using \"MySQL Database connection detection\"\r\nand show me this \"Unable to connect to MySql database!\"\r\n\r\nif enter with same credentials using phpmyadmin is WORKS but why cant connect?"}}
{"actor":{"display_login":"oneinstack"}}