Har installerat mysql 4 och den verkar funka. Jag har stoppljuset nere vid klockan och den lyser grönt. Jag har skapat en databas med en tabell men när jag ska ansluta till mysql från en php sida med följande rad:
Another solution to the security problems of putting usernames and passwords into scripts. I haven't found this documented anywhere else so thought I'd suggest it for the online documentation. ........
Don't put passwords for mysql into scripts which may be read by any user on the machine. Instead put them into an Apache configuration file and make sure that it is not world-readable. (Apache reads its main config files as root.)
For example, add this to your httpd.conf (and chmod it to 600 or 660) then tell your apache to reload itself (apachectl graceful).
det ska vara variabler...jag vet inte vad mitt anv och lösen är så det är därför. Har testat med att lämna dem tomma och att ta bort dem helt men hjälper inte...