| Summary: | Mysql don't works | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jacques Pronchery <jacques.pronchery> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | MySQL | CVE: | |
| Status comment: | |||
|
Description
Jacques Pronchery
2011-09-13 21:58:19 CEST
is that better with the new version ? (In reply to comment #1) > is that better with the new version ? No there are the same defaults !!! I install Mageia with LXDE in french and without software only with configuration and LSB I install MySQL and it don't start. I install the driver for NVIDIA I test MySQL but it don't start I reboot the system and MySQL started during the reboot And then MySQL works OK For starting the service you should use service mysqld start And if you use that command then what errors do you get? CC:
(none) =>
sander.lepik (In reply to comment #4) > For starting the service you should use service mysqld start > Yes , I know > And if you use that command then what errors do you get? See the description above. (In reply to comment #5) > > And if you use that command then what errors do you get? > > See the description above. You didn't start it with service command. (In reply to comment #3) > I reboot the system and MySQL started during the reboot > And then MySQL works OK So yes you must run the command "service mysqld start" or "/etc/init.d/mysqld" and not "mysqld start" so closing this bug as invalid Status:
NEW =>
RESOLVED I tryed start MySQL for 2 ways : In a consol with mysqld start and with the services of MCC. It was the same result. mysqld start is not the same as service mysqld start. So if you want to report problem then reproduce it with service mysqld start and copy logs or error message that you get. Above error is rather normal for that (bogus) command. Here is the report of the command :
[root@localhost ~]# service mysqld start
Starting mysqld (via systemctl): Job failed. See system logs and 'systemctl status' for details.
[ÃCHEC ]
[root@localhost ~]#Status:
RESOLVED =>
REOPENED And what are the logs saying? And the satus command? i don't know what you want, say me what command i will do. Thank Jacques, when you get this error, please give the command 'systemctl status' and show the output of that, as well as the contents of /var/log/syslog (only those entries from trying to start the command onwards). Here is the report : [root@localhost ~]# systemctl status Too few arguments. [root@localhost ~]# systemctl status mysql Failed to issue method call: Unit name mysql is not valid. [root@localhost ~]# There is no file /var/log/syslog I make an update and then it's impossible to boot. I wanted to re-install Cauldron but it's impossible because : bootloader_utils conflict with libldetect0 Kernel-desktop586 unsatisfied bootloader libldetect0 unsatisfied libmodprobe.so.0 we will see the probleme later when it will be possible to install Cauldron If I install Mageia without X, mysql works correctly and there is a file /var/log/syslog But if I install Mageia with X (LXDE or Icewm light) mysql don't start. [root@localhost ~]# systemctl status mysqld.service mysqld.service - MySQL database server Loaded: loaded (/lib/systemd/system/mysqld.service; enabled) Active: activating (start-post) since Thu, 06 Oct 2011 14:58:13 +0200; 1s ago Process: 1321 ExecStart=/usr/bin/mysqld_safe --nowatch (code=exited, status=0/SUCCESS) Process: 1306 ExecStartPre=/usr/sbin/mysqld-prepare-db-dir (code=exited, status=0/SUCCESS) Main PID: 1670 (mysqld); Control: 1671 (mysqld-wait-rea) CGroup: name=systemd:/system/mysqld.service â 1670 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --log-error=/var/lib/mys... â 1671 /bin/sh /usr/sbin/mysqld-wait-ready 1670 â 1713 sleep 1 [root@localhost ~]# and there is not the file /var/log/syslog. See bug 2962 It seems that there is no problem with MySQL. The problem is in the X driver nouveau. But I not founded the link between Mysql and this driver. I think you can close this bug. Ok thanks. (I am also sure that as nothing do to with the video card :)) Status:
REOPENED =>
RESOLVED |