Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Alter a table via mysql command line
New on LowEndTalk? Please Register and read our Community Rules.

Alter a table via mysql command line

xaitmixaitmi Member


I have a table called servers and one of the columns inside it is called ipaddress and it's currently a varchar (15).

I need to change it to varchar (30) without dropping the column.

What would be the correct command to do this.

I searched it up online but most places say to drop it and re-add it.

I don't wanna install PHPMyAdmin.


Sign In or Register to comment.