<? $link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); if (!$link) { die('Could not connect: ' . mysql_error()); } printf("MySQL sunucu versiyonu: %s\n", mysql_get_server_info()); ?> Çıktısı: MySQL sunucu versiyonu: 4.0.1-alpha