How do I fix the following error SQL/DB Error errcode 13 Can't create/write to file?Problem: The MySQL variable tmpdir is set to a directory that cannot be written to when using PHP to access MySQL. To verify this, enter MySQL at the command line and type show variables; You'll get a long list and one of them will read: tmpdir = /somedir/ (whatever your setting is.) Solution: Alter the tmpdir variable to point to a writable directory. Steps: Find the my.cnf file. On *nix systems this is usually in /etc/. Once found, open this in a sim...
查看详细内容 >>