Page 1 of 1

Can't create/write to file 'C:\Program Files\xampp

PostPosted: 13. May 2006 18:09
by lihatxx
anybody can help me, how toe fix this problem

When i make a table thorugh phpmyadmin...... i found this error messages ...

Error
SQL query:
SHOW FULL FIELDS FROM `latihan` ;
MySQL said:
#mp\#sql_71c_0.MYI' (Errcode: 22)


Please help me, iam new xampp user and newbe in PHP programing
-----------------------------------------------
I use this Xampp version
XAMPP for Windows Version 1.5.3 Beta 3
phpMyAdmin - 2.8.0.3
MySQL - 5.0.21-community-nt

THis is my phpmyadmin screenshot

PostPosted: 13. May 2006 18:14
by lihatxx
Image

Really Need help

PostPosted: 13. May 2006 18:18
by lihatxx
I try to install in different computer... but, the problem same like the first computer.

Oh ya.... when i use PHPtriap, i cannot found that problem.

Found a solution ...

PostPosted: 16. May 2006 21:00
by cmr
hi lihatxx,
i had the same problem on my machine.
it seems to be a problem with the internal handling of the path in my.cnf (can be found under [XAMPP_HOME_DIR]\mysql\bin) or similar when using another mysql-configurationfile. the interpreter of the path seems to interprete the \t from \tmp as an tabulator-escapecharacter.

1. open the file my.cnf using any text-editor (open it from inside the editor because for example under XP the *.cnf-files are associated with some messenger-things.

2. go to the [mysqld]-section and edit the line:
tmpdir="C:\Programme\xampp\tmp" (or similar)

3. insert an \ before the \tmp so you will get the result:

tmpdir="C:\Programme\xampp\\tmp"

as an alternative you can create a new directory under your xampp-home like _tmp or so. then you have to change the tempdir-path to the related new directory. but the best way is the first one.

oh, and don't forget to restart your mysql after done this ...

greetings from neu-ulm

chris


p.s: i just saw your installation-path in the title of the thread,
the file my.cnf must be found in

C:\Program Files\xampp\mysql\bin\

the tmp-directory is under

C:\Program Files\xampp\tmp

Thank's i will try your suggested

PostPosted: 17. May 2006 17:42
by lihatxx
:D Thank you for your sollutions, i hove this work in my xampp.

Re: Thank's i will try your suggested

PostPosted: 18. May 2006 07:53
by cmr
lihatxx wrote::D Thank you for your sollutions, i hove this work in my xampp.


please tell me if it works - thx

chris

Good Sollutions

PostPosted: 21. May 2006 13:31
by lihatxx
I t work...... thank`s verry much :D :D :D