Estou usando o Ubuntu preciso como chroot
na minha máquina do Chromebook.
Estou tentando instalar mysql
em apt-get install mysql-server
.
O problema é que, quando tento começar, não consigo encontrar o emprego:
(precise)mauriciogior@localhost:~$ sudo start mysql
start: Unknown job: mysql
OR
(precise)mauriciogior@localhost:~$ sudo /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start
initctl: Unknown job: mysql
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql
OR
(precise)mauriciogior@localhost:~$ sudo service mysql start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start
initctl: Unknown job: mysql
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql
Eu tentei tudo o que vi online, removendo tudo relacionado a mysql
e instalando novamente.
Eu tentei usar sudo initctl reload-configuration
, e tudo neste post Upstart não pode iniciar o MySQL
Aqui está o despejo da minha instalação:
(precise)mauriciogior@localhost:~$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
php5-fpm php5-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libdbd-mysql-perl libmysqlclient18 mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5
Suggested packages:
tinyca mailx
The following NEW packages will be installed:
libdbd-mysql-perl libmysqlclient18 mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/26.3 MB of archives.
After this operation, 94.9 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
Selecting previously unselected package mysql-common.
(Reading database ... 14874 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.5.44-0ubuntu0.12.04.1_all.deb) ...
Selecting previously unselected package libmysqlclient18.
Unpacking libmysqlclient18 (from .../libmysqlclient18_5.5.44-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.020-1build2_amd64.deb) ...
Selecting previously unselected package mysql-client-core-5.5.
Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.44-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.44-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package mysql-server-core-5.5.
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.44-0ubuntu0.12.04.1_amd64.deb) ...
Setting up mysql-common (5.5.44-0ubuntu0.12.04.1) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 15052 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.44-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.5.44-0ubuntu0.12.04.1_all.deb) ...
Processing triggers for ureadahead ...
Setting up libmysqlclient18 (5.5.44-0ubuntu0.12.04.1) ...
Setting up libdbd-mysql-perl (4.020-1build2) ...
Setting up mysql-client-core-5.5 (5.5.44-0ubuntu0.12.04.1) ...
Setting up mysql-client-5.5 (5.5.44-0ubuntu0.12.04.1) ...
Setting up mysql-server-core-5.5 (5.5.44-0ubuntu0.12.04.1) ...
Setting up mysql-server-5.5 (5.5.44-0ubuntu0.12.04.1) ...
runlevel:/var/run/utmp: No such file or directory
initctl: Unknown job: mysql
150831 19:50:14 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
150831 19:50:14 [Note] /usr/sbin/mysqld (mysqld 5.5.44-0ubuntu0.12.04.1) starting as process 13351 ...
Setting up mysql-server (5.5.44-0ubuntu0.12.04.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
EDITAR
Eu tentei criar o arquivo /var/run/utmp
e instalá-lo novamente ... sem sucesso.