Ir al contenido principal

Instalación Sencilla de MySQL 5.5.31 en Crunchbang 11

Una instalación de MySQL en un mundo feliz sería de esta forma y con los mensajes siguientes:

raccode@crunchbang:~$ sudo apt-get install mysql-server
[sudo] password for raccode:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
cronolog dbconfig-common libblas3gf liblapack3gf libmcrypt4 libmozjs18d libonig2 libqdbm14 xulrunner-18.0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libdbd-mysql-perl libmysqlclient18 mysql-client-5.5 mysql-common mysql-server-5.5 mysql-server-core-5.5
Suggested packages:
libterm-readkey-perl tinyca
The following NEW packages will be installed:
libdbd-mysql-perl libmysqlclient18 mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5
0 upgraded, 7 newly installed, 0 to remove and 10 not upgraded.
Need to get 8,132 kB/8,259 kB of archives.
After this operation, 90.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://security.debian.org/ wheezy/updates/main mysql-common all 5.5.31+dfsg-0+wheezy1 [85.3 kB]
Get:2 http://security.debian.org/ wheezy/updates/main libmysqlclient18 i386 5.5.31+dfsg-0+wheezy1 [671 kB]
Get:3 http://security.debian.org/ wheezy/updates/main mysql-client-5.5 i386 5.5.31+dfsg-0+wheezy1 [1,627 kB]
Get:4 http://security.debian.org/ wheezy/updates/main mysql-server-core-5.5 i386 5.5.31+dfsg-0+wheezy1 [3,638 kB]
Get:5 http://security.debian.org/ wheezy/updates/main mysql-server-5.5 i386 5.5.31+dfsg-0+wheezy1 [2,027 kB]
Get:6 http://security.debian.org/ wheezy/updates/main mysql-server all 5.5.31+dfsg-0+wheezy1 [83.6 kB]
Fetched 8,132 kB in 32s (249 kB/s)
Preconfiguring packages ...



Selecting previously unselected package mysql-common.
(Reading database ... 98399 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.5.31+dfsg-0+wheezy1_all.deb) ...
Selecting previously unselected package libmysqlclient18:i386.
Unpacking libmysqlclient18:i386 (from .../libmysqlclient18_5.5.31+dfsg-0+wheezy1_i386.deb) ...
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.021-1+b1_i386.deb) ...
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.31+dfsg-0+wheezy1_i386.deb) ...
Selecting previously unselected package mysql-server-core-5.5.
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.31+dfsg-0+wheezy1_i386.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.5.31+dfsg-0+wheezy1) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 98585 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.31+dfsg-0+wheezy1_i386.deb) ...
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.5.31+dfsg-0+wheezy1_all.deb) ...
Processing triggers for man-db ...
Setting up libmysqlclient18:i386 (5.5.31+dfsg-0+wheezy1) ...
Setting up libdbd-mysql-perl (4.021-1+b1) ...
Setting up mysql-client-5.5 (5.5.31+dfsg-0+wheezy1) ...
Setting up mysql-server-core-5.5 (5.5.31+dfsg-0+wheezy1) ...
Setting up mysql-server-5.5 (5.5.31+dfsg-0+wheezy1) ...
Stopping MySQL database server: mysqld.
130517 9:05:21 [Note] Plugin 'FEDERATED' is disabled.
130517 9:05:21 InnoDB: The InnoDB memory heap is disabled
130517 9:05:21 InnoDB: Mutexes and rw_locks use GCC atomic builtins
130517 9:05:21 InnoDB: Compressed tables use zlib 1.2.7
130517 9:05:21 InnoDB: Using Linux native AIO
130517 9:05:21 InnoDB: Initializing buffer pool, size = 128.0M
130517 9:05:21 InnoDB: Completed initialization of buffer pool
130517 9:05:21 InnoDB: highest supported file format is Barracuda.
130517 9:05:22 InnoDB: Waiting for the background threads to start
130517 9:05:23 InnoDB: 5.5.31 started; log sequence number 1624608
130517 9:05:23 InnoDB: Starting shutdown...
130517 9:05:24 InnoDB: Shutdown completed; log sequence number 1624608
Starting MySQL database server: mysqld ..
Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
Setting up mysql-server (5.5.31+dfsg-0+wheezy1) ...
raccode@crunchbang:~$

Comentarios

Entradas populares de este blog

Consultas SQL basadas en fecha y/o hora

Manejando SQL Server 2005, me encontre que tratando hacer consultas basadas en fechas, obtenía como resultado nada (empty). Esto se debía a que no tenía claro como trabajan los tipos de dato datetime y smalldatetime. Estos dos tipos de datos son muy similares, se diferencia en que datetime es más detallado a la hora de almacenar la fecha. Estas diferencias pueden ser vistas en la siguiente tabla: Tipo Minimo Maximo Precision datetime Ene 1, 1753 media-noche Dic 31, 9999 23:59:59.997 (0.003 segundos hasta la media-noche) Más cercano 3.33 millisegundos smalldatetime Ene 1, 1900 media-noche Jun 6, 2079 23:59 (un minuto hasta la media-noche) Más cercano al mínuto Ambos, representan una fecha y hora que es igual al número de días en relación a una fecha base. En SQL Server la fecha base es la medianoche del 1 de Enero de 1900 . Observando la tabla, el tipo de dato smalldatetime, puede solo representar fechas desde esta fech...

AJAX: Redireccionar a una nueva página después de haber iniciado sesión

Estaba trabajando en una app, la cual quería que mostrará un mensaje cada vez que el usuario por error introducía el nombre de usuario o contraseña inválida. Bueno esto no fue díficil, ya que conozco como hacerlo. Pero lo que en ese momento no habia pensado era lo contrario, si el usuario introduce correctamente sus datos, no debo mostrar ningún mensaje. Lo que debo hacer es redireccionar al usuario a su pantalla inicial luego del logeo.

Ajax - Tedioso Error: "Could not complete the operation due to error c00ce514"

Yo tuve de 9:30 AM hasta las 2:00 PM del día de hoy tratando de resolver este bendito error. Busque en Google y nada, asi que me tome la molestía de resolver este problema. Revise las funciones Ajax habitual, donde uno hace el statechanged y luego el open del objeto XmlHttp. Estas son las mías (lo hago para dar una referencia más clara): xmlHttp.onreadystatechange = function() { stateChanged(xmlHttp, placeHolder) } xmlHttp.open(method, url, true); Y nada. Hasta que me pude dar cuenta que en mi caso el bendito error salia porque el mensaje que queria desplegar en el "Place Holder" (no se como decirlo en español), tenía tilde y la letra Ñ-ñ. Asi que al parecer el Ajax no se lleva bien con caracteres fuera del alfabeto gringo. Te tocará a ti, decirme si realmente esto es un bugs o existe alguna forma de configurar en cualquiera de las capaz involucradas en el funcionamiento del Ajax para que este problem no se presente.