Hi; Since I decided to "yum remove openssl", genius that I am (not!), I managed to screw up the OS so badly the server co. had to rebuild it for me <:-) These good people backed everything up very well, so the damage was minimal. Now I'm trying to rebuild MySQL. I did the "yum install mysql" no problem. However...
[root@13gems old]# /etc/init.d/mysqld start -bash: /etc/init.d/mysqld: No such file or directory
What do? Also, where is the data usually stored? The server co. backed that up, but I don't know which file it would be. TIA, Victor
try this
yum install mysql-server
--- On Fri, 13/11/09, Victor Subervi victorsubervi@gmail.com wrote:
From: Victor Subervi victorsubervi@gmail.com Subject: [CentOS] Rebuilding MySQL To: "CentOS mailing list" centos@centos.org Date: Friday, 13 November, 2009, 2:58 PM
Hi;Since I decided to "yum remove openssl", genius that I am (not!), I managed to screw up the OS so badly the server co. had to rebuild it for me <:-) These good people backed everything up very well, so the damage was minimal. Now I'm trying to rebuild MySQL. I did the "yum install mysql" no problem. However...
[root@13gems old]# /etc/init.d/mysqld start-bash: /etc/init.d/mysqld: No such file or directory What do? Also, where is the data usually stored? The server co. backed that up, but I don't know which file it would be. TIA,Victor
-----Inline Attachment Follows-----
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Get your new Email address! Grab the Email name you've always wanted before someone else does! http://mail.promotions.yahoo.com/newdomains/aa/
Default data directory is in /var/lib/mysql You can check also the datadir=? in /etc/my.cnf
--- On Fri, 13/11/09, ceejay cervantes ceejay9492002@yahoo.com wrote:
From: ceejay cervantes ceejay9492002@yahoo.com Subject: Re: [CentOS] Rebuilding MySQL To: "CentOS mailing list" centos@centos.org Date: Friday, 13 November, 2009, 4:56 PM
try this
yum install mysql-server
--- On Fri, 13/11/09, Victor Subervi victorsubervi@gmail.com wrote:
From: Victor Subervi victorsubervi@gmail.com Subject: [CentOS] Rebuilding MySQL To: "CentOS mailing list" centos@centos.org Date: Friday, 13 November, 2009, 2:58 PM
Hi;Since I decided to "yum remove openssl", genius that I am (not!), I managed to screw up the OS so badly the server co. had to rebuild it for me <:-) These good people backed everything up very well, so the damage was minimal. Now I'm trying to rebuild MySQL. I did the "yum install mysql" no problem. However...
[root@13gems old]# /etc/init.d/mysqld start-bash: /etc/init.d/mysqld: No such file or directory What do? Also, where is the data usually stored? The server co. backed that up, but I don't know which file it would be. TIA,Victor
-----Inline Attachment Follows-----
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does! -----Inline Attachment Follows-----
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
New Email addresses available on Yahoo! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/aa/
Victor Subervi wrote:
What do? Also, where is the data usually stored? The server co. backed that up, but I don't know which file it would be.
With the CentOS version of mysql, its typically in /var/lib/mysql and the mysql config file is /etc/my.cnf
after installing the mysql server with yum as ceejay explained, do...
# service mysqld start # chkconfig mysqld on
(the first command starts the server, the second command configures the system so the mysql server will automatically start when rebooted)
if the server is properly running, then you'll see at least one process if you ...
# ps uww -C mysqld USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND mysql 3193 0.0 1.6 136920 16608 ? Sl Sep29 0:20 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock
Thanks :)
On Fri, Nov 13, 2009 at 4:09 AM, John R Pierce pierce@hogranch.com wrote:
Victor Subervi wrote:
What do? Also, where is the data usually stored? The server co. backed that up, but I don't know which file it would be.
With the CentOS version of mysql, its typically in /var/lib/mysql and the mysql config file is /etc/my.cnf
after installing the mysql server with yum as ceejay explained, do...
# service mysqld start # chkconfig mysqld on
(the first command starts the server, the second command configures the system so the mysql server will automatically start when rebooted)
if the server is properly running, then you'll see at least one process if you ...
# ps uww -C mysqld USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND mysql 3193 0.0 1.6 136920 16608 ? Sl Sep29 0:20 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos