Hi, ich habe gerade mysql installiert und schon das erste Problem: Auf der Konsole funktioniert alles wie erwartet, ueber php kann ich aber nicht mal eine Verbindung zum Server aufbauen.
Ein einfaches Skript
| <?php
| $db =3D @mysql_connect("localhost","root","password");
| if ($db) {
| echo "Connect! $db";
| } else {
| echo "Error!";
| }
| @mysql_close($db);
| ?>
liefert mir nur '<html><body></body></html>'.
In der httpd.conf wird das auth_mysql und das php4 Modul geladen. In der
mysql.err steht:
| 020220 22:24:51 mysqld started
| Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
| If you do not want to use transactional InnoDB tables, add a line
| skip-innodb
| to the [mysqld] section of init parameters in your my.cnf
| or my.ini. If you want to use InnoDB tables, add for example,
| innodb_data_file_path =3D ibdata1:30M
| But to get good performance you should adjust for your hardware
| the InnoDB startup options listed in section 2 at
| http://www.innodb.com/ibman.html
| /usr/sbin/mysqld: ready for connections
php ohne mysql funktioniert problemlos.
Config: Apache, php4 und mysql aus woody, frisch installiert.
Kann mir jemand sagen was ich falsche mache? Bei Bedarf schicke ich
euch natuerlich auch Config-Auszuege. Danke!
Gruss
Janto
--
Windows CE ist die Art Schei�e, bei der man dringend mu�, mit letzter
Kraft ankommt, und dann kommt doch gar nichts.
Message-ID: <[EMAIL PROTECTED]>
msg02240/pgp00000.pgp
Description: PGP signature

