Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
phpMyAdmin User Create Error
02-03-2008, 07:54 PM
Post: #1
phpMyAdmin User Create Error
When trying to create a new user, it will not let me set up privilages. instead is shows a error:

Quote:Error

SQL query:

SHOW COLUMNS FROM `mysql`.`user` ;

MySQL said: Documentation
#1 - Can't create/write to file 'C:\Documents and Settings\Geoff\Desktop\Lighty2Go\Lighty2Go\MySQL\data\TMP\#sql_17b8_0.MYI' (Errcode: 2)

-Geoff
BTW - anything on php-fusion compatability?
Quote this message in a reply
02-03-2008, 07:55 PM
Post: #2
RE: phpMyAdmin User Create Error
geoff Wrote:When trying to create a new user, it will not let me set up privileges. instead is shows a error:

Quote:Error

SQL query:

SHOW COLUMNS FROM `mysql`.`user` ;

MySQL said: Documentation
#1 - Can't create/write to file 'C:\Documents and Settings\Geoff\Desktop\Lighty2Go\Lighty2Go\MySQL\data\TMP\#sql_17b8_0.MYI' (Errcode: 2)

-Geoff
BTW - anything on php-fusion compatability?

err. I figured it out...doesn't accept spaces in directory namesSmile
Quote this message in a reply
02-04-2008, 12:01 AM
Post: #3
RE: phpMyAdmin User Create Error
Still looking into the php-fusion thing --

And on a separate note i might be on to a fix for more issues related to paths with spaces.

Thanks for posting..

--Tom
Find all posts by this user
Quote this message in a reply
02-04-2008, 12:04 PM
Post: #4
RE: phpMyAdmin User Create Error
I havent spaces in path, but still have an error, when creating/opening tables!
Wrotes:
//--------------------------------------------------------
Error

SQL query: Edit

SHOW FULL FIELDS FROM `vb2` ;

MySQL said: Documentation
#1 - Can't create/write to file 'C:\Lighty\MySQL\data\TMP\#sql_9f0_0.MYI' (Errcode: 2)
//---------------------------------------------------------
OS: WinXP PRO SP2.
Quote this message in a reply
02-05-2008, 04:58 AM
Post: #5
Smile RE: phpMyAdmin User Create Error
Guest Wrote:I havent spaces in path, but still have an error, when creating/opening tables!
Wrotes:
//--------------------------------------------------------
Error

SQL query: Edit

SHOW FULL FIELDS FROM `vb2` ;

MySQL said: Documentation
#1 - Can't create/write to file 'C:\Lighty\MySQL\data\TMP\#sql_9f0_0.MYI' (Errcode: 2)
//---------------------------------------------------------
OS: WinXP PRO SP2.

i had the same problem a few minutes ago... after looking through a few config files and finding nothing amiss, i took a quick look at the folder structure and realized; of course it can't write to "\LightTPD\MySQL\data\TMP\", because... well... it simply can't write to a directory if the specified directory doesn't exist!

So, if there isn't one there already, creating a \TMP\ directory within MySQL's \data\ folder should fix the problem



-Q
Find all posts by this user
Quote this message in a reply
02-05-2008, 09:35 AM
Post: #6
RE: phpMyAdmin User Create Error
Thanks, simply i didn't check "TMP" folder existence, but now, when i created it, all works fine! Smile
Quote this message in a reply
02-05-2008, 10:42 PM
Post: #7
RE: phpMyAdmin User Create Error
great pick-up quietly!
I've gotta stop checking the posts so late at night.
I also made another minor change to the package so I will add the TMP folder to the MySQL\data directory and I will be rolling out a v1.3 in a few days.

Thanks again

--Tom
Find all posts by this user
Quote this message in a reply
07-22-2009, 01:42 AM
Post: #8
RE: phpMyAdmin User Create Error
#1 - Can't create/write to file 'C:\xampp\tmp\#sqla48_5_0.MYI' (Errcode: 2)
is the error that occurs mhwen i click on thephpmyadmin of wamp server....even the xampp server is not installed any more on my pc..can u tell me the soloution????
#1 - Can't create/write to file 'C:\xampp\tmp\#sqla48_5_0.MYI' (Errcode: 2) this error is generated when i click on the mysqladmin of the wamp server..even the xampp server is not installed on my pc.
Quote this message in a reply
03-10-2010, 02:35 AM
Post: #9
RE: phpMyAdmin User Create Error
That nearly always means you're trying to access a database that you do not have permissions to access... or not? It's really odd how you cannot seem to access the databases as 'root' though...
I remember once when I accidentally dropped the 'root' permissions in the `mysql` database; boy, that was a mess! I had to delete the mysql files, re-install MySQL and restore all the databases off a recent backup.
I really don't know about MySQL on Linux, I am still struggling with Linux at the moment so unless someone who uses Linux extensively, reads this and replies, I am also interested to know how you will eventually solve this.

acekard 2i
Find all posts by this user
Quote this message in a reply
Post Reply 


[-]
Quick Reply
Message
Type your reply to this message here.


Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Forum Jump: