Mailinglisten-Archive |
Hi Stefan,
bevor Du sowas kompliziertes wie phpMyAdmin bemuehst,
versuche doch mal was einfaches wie:
<PRE><B>start</B><BR><?
$DB_host = 'localhost';
$DB_user = 'root';
$DB_pass = '';
$DB_conn = @mysql_connect($DB_host, $DB_user, $DB_pass);
if (!$DB_conn)
{echo 'Connect, host: "'.$DB_host.'" not found.';
exit();}
$exec = @mysql_query('SELECT VERSION()', $DB_conn);
if (!$exec)
{echo 'Select MySQL-Version failed.';
exit();}
$EG = @mysql_fetch_row($exec);
echo 'MySQL-Version: ';
echo (isset($EG[0])) ? $EG[0] : '<B>-1</B>';
?><BR><B>fettisch</B></PRE>
Die falsche MySQL-Version koennte auf die my.cfg oder
die php.ini zurueck zu fuehren sein. Wo sonst noch
solche Eintraege 'haendisch' vorgenommen werden
koennen, weiss ich nicht ... :-(
m. b. G. Norbert
_____________________
normal: 02292-681769
Notruf: 0177-2363368
---------------------
e.o.m.
--
Infos zur Mailingliste, zur Teilnahme und zum An- und Abmelden unter
-->> http://www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive