Jump to content

Urgent - SQLSTATE[01002] Adaptive Server connection failed (severity 9)


Recommended Posts

  • 1 month later...
  • 2 months later...
  • 4 weeks later...
On 8/23/2023 at 6:27 PM, Pablomarcolino said:

does anyone know how to resolve this error?

Unsure if you ended up figuring it out, how ever I suggest reaching out to your host for your website and use pdo_dblib.

Make this .php file and drop this into your root web folder -> fill out the information within that ?php script and after dropping the file into your ftp head over to your website and use that .php file it will either throw an error or will give you information from the SQL. Things to take note, make sure your webhost opens port 1433. 


$serverName = "ServerIP";
$uid = "username";
$pwd = "password!";
$db = "MuOnline";

try {
    $conn2 = new PDO("dblib:host=" . $serverName . ";dbname=" . $db . ";", "" . $uid . "", "" . $pwd . "");
    $conn2->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
    $stmt = $conn2->prepare("SELECT TOP 1 Name from Character ORDER BY Name Desc");

catch(PDOException $e){
    echo "Connection failed: " . $e->getMessage();


Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
[url=https://samoylovaoxana.ru/tag/pohody-po-kavkazu/]походы по Кавказу[/url] или [url=https://samoylovaoxana.ru/tag/turizm-i-otdyh-v-italii/]туризм и отдых в Италии[/url]

[url=https://samoylovaoxana.ru/tag/aksessuary-v-dorogu/]аксессуары в дорогу[/url]


Ещё можно узнать: [url=http://yourdesires.ru/home-and-family/cookery/232-kak-prigotovit-shpikachki-v-domashnih-usloviyah.html]шпикачки в домашних условиях[/url]

Романтические путешествия
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...