Mysqladmin/telnet/installing movable type


#1

Hi,

I’m trying to install Movable Type (blog software) via telnet.
However, when I follow the instructions at the Movable type website to create a database, they don’t work. The instructions are to type the following:

mysqladmin create -u -p

When I type that and input my information, I get the following errors:

mysqladmin: connect to server at ‘localhost’ failed
error: 'Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysq
ld.sock’ (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock’
exists!
[lesabre]$

Anyone have any idea what else I might need to do so I can create a mysql database via telnet?

(I know how to do it if I log into my account via the web, but I don’t want to do it that way, because in the future I might have users, and I want them to be able to telnet in and install things as they need to.)


#2

You can’t create a database through telnet, there’s no other way to do it except through the panel.

If you are a very experienced programmer, it should be possible to create a script that will log into the panel and carry out actions for you, but that’s no easy task. IIRC there’s a wiki article on Dynamic DNS that includes a script to update dns records through the panel for you, if you want to take a look, as an example.

–Matttail
art.googlies.net - personal website


#3

Thanks again, Matttail!