You are not logged in.

#1 2016-05-24 03:52:43

robisohn
Member
Registered: 2016-05-24
Posts: 5

[SOLVED]I installed mysqld and cannot start it

I downloaded mysql using "pacman -S mysql", and I downloaded mariadb, but I cannot start mysqld (systemctl start mysqld)... and when I run 'systemctl status mysqld.service':


[Note]InnoDB: Dumping buffer pool(s) not yet started
[Note]Plugin 'FEEDBACK' is disabled.
[ERROR] Could not open mysql.plugin table. Some plugins may not be loaded
[Note]Recovering after a crash using mysql-bin
[Note]Starting crash recovery...
[Note]Crash recovery finished.
[Warning]failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtib_slave_pos; doesn't exisit
[ERROR]Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
[Note]Server socket created on IP: '::'.

Last edited by robisohn (2016-05-31 02:46:01)

Offline

#2 2016-05-24 04:49:55

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED]I installed mysqld and cannot start it

After installing did you follow the next steps in order to set it up correctly?

https://wiki.archlinux.org/index.php/MySQL


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2016-05-25 20:25:43

robisohn
Member
Registered: 2016-05-24
Posts: 5

Re: [SOLVED]I installed mysqld and cannot start it

Thanks! Running, "mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql" fixed it

Last edited by robisohn (2016-05-25 20:26:25)

Offline

#4 2016-05-25 20:35:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED]I installed mysqld and cannot start it

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB