Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

This is not a number error in phpMyAdmin

I am trying to create a user table this way:

Table creation

But I am getting this error:

This is not a number

What am I doing wrong?

like image 731
James Maltby Avatar asked Oct 24 '13 06:10

James Maltby


2 Answers

You need to provide the VARCHAR length (the number of characters). The length should be a numeric value. then you can get rid of the error.

like image 104
naseer mohammad Avatar answered Oct 10 '22 18:10

naseer mohammad


INT type have 4 bytes storage capacity so you can only give max lenght of 11.

Check this for more details

like image 27
devang jogiya Avatar answered Oct 10 '22 17:10

devang jogiya