Zitat:
Original geschrieben von T.dot
funktioniert nur phpmyadmin nicht oder hast du dort angefangen zu testen?
|
Auch bei der Typo3-Installation erhalte ich die Fehlermeldung, dass PHP nicht auf MySQL zugreifen könne
Zitat:
|
ansonsten test mal ob ne einfache php Seite angezeigt wird, schau ob die Prozesse für Apache, mysql rennen, ...
|
Die PHP-Testseite läuft, ebenso das Typo3-Installationsskript. Apache-Dienst und MySQL-Dienst sind gestartet. MySQLAdmin läuft auch.
Zitat:
|
für phpmyadmin musst du in config.inc.php im phpmyadmin verzeichnis meist einige einstellungen zur serverkonfiguration/Datenbankzugriffsrechte (pwd, user, ...) treffen, sonst tut sich da nix...
|
Hier habe ich etwas eingetragen:
Code:
$cfg['Servers'][$i]['host'] = '192.168.69.2'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed with 'config' auth_type)
Es sollte mit 'root' ohne Passwort ein Zugang möglich sein. Aber irgendwie muss ich mit my.ini einen Benutzer anlegen können.
Code:
falls du dich ein wenig mit php auskennst kannst ja auch mal versuchen einfach mal auf den SQL Server zugreifen (mittels mysql_connect), brauchst glaub ich nichtmal ne datenbank drauf damits funkt...
Das dürfte scheitern, weil ich beim Typo3-Skript die Fehlermeldung erhalte.
Zitat:
Check database:
MySQL not available
PHP does not feature MySQL support (which is pretty unusual).
|
phpinfo:
Code:
HTTP_HOST : localhost
TYPO3_HOST_ONLY : localhost
TYPO3_PORT :
PATH_INFO :
QUERY_STRING : TYPO3_INSTALL[type]=phpinfo
TYPO3_REQUEST_URL : http://localhost/dummy-3.7/typo3/ins...?TYPO3_INSTALL[type]=phpinfo
TYPO3_REQUEST_SCRIPT: http://localhost/dummy-3.7/typo3/install/index.php
TYPO3_REQUEST_DIR : http://localhost/dummy-3.7/typo3/install/
TYPO3_SITE_URL : http://localhost/dummy-3.7/
SCRIPT_NAME : /dummy-3.7/typo3/install/index.php
TYPO3_DOCUMENT_ROOT : D:/Programme/Apache Group/Apache2/htdocs
SCRIPT_FILENAME : D:/Programme/Apache Group/Apache2/htdocs/dummy-3.7/typo3/install/index.php
REMOTE_ADDR : 127.0.0.1
REMOTE_HOST :
HTTP_USER_AGENT : Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.2) Gecko/20040803
HTTP_ACCEPT_LANGUAGE: de,en;q=0.5
CONST: PHP_OS : WINNT
CONST: TYPO3_OS : WIN
CONST: PATH_thisScri: D:/Programme/Apache Group/Apache2/htdocs/dummy-3.7/typo3/install/index.php
CONST: php_sapi_name: apache2handler
OTHER: TYPO3_VERSION: 3.7.0RC1
OTHER: PHP_VERSION : 5.0.1
PATH C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;D:\Programme\mysql-4.1.4-gamma-win\bin;D:\Programme\PHP;C:\Programme\Gemeinsame Dateien\Ulead Systems\MPEG