Flag This Hub

This is Not a Number

By


The "This is not a number!" ERROR
See all 3 photos
The "This is not a number!" ERROR

"This is not a number" Error in PHPMyAdmin

While creating an SQL database in PHPMyAdmin, I repeatedly faced this error and after searching the web for a solution, I got nothing useful. Someone who asked about it in a forum was laughed at and was told to press the save button with more force and eventually it will work. People do not blog about less searched keywords, so I didn't really find a good post on this topic.

Finally I resolved the error by  making all the field types either TEXT, ENUM or SET; it continually gave error while the type was VARCHAR. But this obviously wasn't the rite way to do it as some values have to be VARCHAR. So, I asked a friend and he told me to enter length in the third column, I did it and everything went alright.

So, the bottom line is that In case you get this error, fill the "Length/Values" field.

The Right Method
The Right Method
Finally! The table was created!
Finally! The table was created!

Click to enlarge the images.

Comments

MyWebs 2 years ago

I have got that error before several times. That PHPMyAdmin error message is rather vague.

Ultimate Hubber 2 years ago

Exactly, it really is quite vague, not like the other errors where messages are quite self explanatory.

nicomp 2 years ago

Open source and community-supported software is notoriously deficient in diagnostics and technical documentation. Typical programmers don't enjoy tweaking their work to that extent.

nihirop 2 years ago

thanks! it solved my problem. such a headache!

Ultimate Hubber 2 years ago

nihirop, I know, I have been through this and found it to be more than a headache. :P

sadikshya 14 months ago

thank u so much for the solution...i too had same problem.

imak 13 months ago

thanks a lot for the info. that helped!

Alex 11 months ago

This error often comes up when people choose the "VARCHAR" data-type for the field's 'Type' but then forget / fail to specify the max-length in in the 'Length/Values' field next to it. If you're telling MySQL that the field is a VARCHAR, you need to tell it the max length (from 1 up to 255 characters) that field will need to hold. If you're going to store more than 255 characters, use a TEXT or MEMO type.

priyanka 10 months ago

hey thanks a lot it really helped me....

Richard 9 months ago

Thank you. Very helpful. I saw the other forum where they were told to press it harder...

Ultimate Hubber 8 months ago

Richard, I remember going through that forum when I was looking for a solution.

Thank you all for your comments!

Kelly 8 months ago

Thank you *so* much.

omar 7 months ago

thank you!

tharindudoo 6 months ago

Thanxx,,you save me

viki 6 months ago

Thanz man

Tolis 5 months ago

Thanks a lot pal

h27472 5 months ago

thank you soooooo much, I was going insane asking myself WHAT is not a number!?

I also came across the same thread you talk about. People are just so rude.

You were very helpful :D

Modular 5 months ago

Thanks a million.

Shishir 4 months ago

Really, tahnks a looootttt.......

tzs 4 months ago

Thank you!

4 months ago

Thanks for being so helpful. :)

saran 4 months ago

thank you very much ...that was use full for me :)

Nathan 3 months ago

Thanks that saved me time as well, very helpful!

Axelander 3 months ago

Than you, it is useful, a lot more useful than post on that forum. You should have included link or something of the sort so that people would see.

josh 3 months ago

Thanks, my table was finally created!

sarah 3 months ago

thanks a million - saved me lots of energy!

gegegee1 3 months ago

soooooooooooooooo cooooool man, u are the real valuable guy, indeed the blogs are talking trash about it, u got that answer, thumbs up!

2 months ago

Thank you, this was really helpful!

Kayser Söse 2 months ago

Diddent work.. all my varchar values has 255

Thanks for the tips anyway! But i will have to try to press even harder. Brute?

vinod 2 months ago

thanks .........!!

Sara 8 weeks ago

Thanks man :)

Really Helped me out

Sharon 7 weeks ago

Thank you for the helpful hub!

LinCom 6 weeks ago

$r1 = -31.03;

$r2 = 28.63;

$r5 = log($r1/$r2);

This is generating Nan error, can you solve it.

**r1 and $r2 are two different expression output obtained from array;

Submit a Comment
Members and Guests

Sign in or sign up and post using a hubpages account.



    Like this Hub?
    Please wait working