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.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Alter a table via mysql command line

xaitmixaitmi Member

Hi.

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.

Comments

Sign In or Register to comment.