Can't Add new user
Posted by: Owen (---.dyn.optonline.net)
Date: January 27, 2006 05:19AM

Hi, I just recently started using Wamp (Great Job!). When I click on "privileges" and then "add user". I've received the following error :

-------------------------
Add a new User

Warning: Invalid argument supplied for foreach() in O:\wamp\phpmyadmin\server_privileges.php on line 562




Error
SQL query:

SHOW COLUMNS FROM `mysql`.`user` ;



MySQL said:

#1 - Can't create/write to file 'O:\wamp\mysql\data\%root%\Temp\#sql_1018_0.MYI' (Errcode: 2)

Options: ReplyQuote
Re: Can't Add new user
Posted by: tamicsko (---.net-tv.hu)
Date: April 23, 2007 12:19AM

Hi!

I have the same problem. I have searched this forum and the web for the answare, but i didn't found it. Can anybody help me?

Thx.

Options: ReplyQuote
Re: Can't Add new user
Posted by: CyberSpatium (71.237.217.---)
Date: April 23, 2007 01:52AM

read my manual

CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!

Please visit my latest website Clarify Loans:
clarifyloans.com

Options: ReplyQuote
Re: Can't Add new user
Posted by: tamicsko (---.net-tv.hu)
Date: April 23, 2007 10:48AM

Thx, i read it. Actually i read it before my first letter too. But i didn't find the answer.

My problem is:
After clicking on Privileges/Add a new user i see this as result:

[img170.imageshack.us]

If you know the answer please let me know.

Thx, regards,
Tamicsko

Options: ReplyQuote
Re: Can't Add new user
Posted by: yfastud (---.cable.mindspring.com)
Date: April 23, 2007 11:33PM

If you don't have any db and data yet, suggest to uninstall and reinstall wamp. If already have some, backup before doing so.

Have fun,

[www.jlbn.net] (testing WAMPS on Vista)
[test.jlbn.net] (testing codes on Vista)

Options: ReplyQuote
Re: Can't Add new user
Posted by: tamicsko (---.net-tv.hu)
Date: June 29, 2007 09:32PM

Thx for help!

During my wamp server update, the same problem occured agin.
I've searched the net again and finally i have a solution:

Add the following lines to my.ini under [wampmysqld] section:

#Path to the database temp dir
tmpdir = c:/wamp/tmp

It works smiling smiley. ( of course, with the right wamp path )

Options: ReplyQuote


Sorry, only registered users may post in this forum.