ورود

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : نشانختن mysql



ali_2636
June 1st, 2014, 12:05
سلام

من برای نصب mysql تو دایرکت ادمین به مشکل زیر برخوردم. کسی میدونه مشکل از کجاست ؟
[root@server myscripts]# service mysqld start
mysqld: unrecognized service


[root@server myscripts]# service mysql start
mysql: unrecognized service


root@server]# yum install mysqld
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.cc.uoc.gr
* extras: ftp.cc.uoc.gr
* updates: ftp.cc.uoc.gr
Setting up Install Process
No package mysqld available.
Error: Nothing to do

[root@serverl]# yum install mysql
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.cc.uoc.gr
* extras: ftp.cc.uoc.gr
* updates: ftp.cc.uoc.gr
Setting up Install Process
No package mysql available.
Error: Nothing to do

ممنون میشم کمکم کنید

OmidX
June 1st, 2014, 12:31
سلام

من برای نصب mysql تو دایرکت ادمین به مشکل زیر برخوردم. کسی میدونه مشکل از کجاست ؟
[root@server myscripts]# service mysqld start
mysqld: unrecognized service


[root@server myscripts]# service mysql start
mysql: unrecognized service


root@server]# yum install mysqld
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.cc.uoc.gr
* extras: ftp.cc.uoc.gr
* updates: ftp.cc.uoc.gr
Setting up Install Process
No package mysqld available.
Error: Nothing to do

[root@serverl]# yum install mysql
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.cc.uoc.gr
* extras: ftp.cc.uoc.gr
* updates: ftp.cc.uoc.gr
Setting up Install Process
No package mysql available.
Error: Nothing to do

ممنون میشم کمکم کنید





سلام ... mysql رو rebuild کنید ، احتمالا مشکل شما حل میشه :


cd /usr/local/directadmin/custombuild
./build update
./build clean
./build mysql d

ali_2636
June 1st, 2014, 13:20
ممنون
این کار رو بارها انجام دادم ولی نشد :(

OmidX
June 1st, 2014, 13:33
ممنون
این کار رو بارها انجام دادم ولی نشد :(

خود دایرکت ادمین بالا میاد ؟

اینو تست کنید :


cd /usr/local/directadmin/custombuild
./build clean
./build update
./build all d

ali_2636
June 1st, 2014, 13:56
دایرکت ادمین بالاست
بعد از دستور build all d/. پیفام عدم نصب mysql رو میده

ali_2636
June 1st, 2014, 14:34
تو خود دایرکت ادمین هم پیغام Error connecting to MySQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) میده

MajorHost
June 1st, 2014, 15:20
yum remove mysql* بزن
بعد مجدد :

cd /usr/local/directadmin/custombuild
./build update
./build clean
./build mysql d

ali_2636
June 1st, 2014, 17:04
الان که این دستور رو می زنم
service mysqld restart

این پیغام رو میده
ERROR! MySQL server PID file could not be found!
Starting MySQL.. ERROR! The server quit without updating PID file (/var/lib/mysql/server.zamzamghadir.com.pid).

MajorHost
June 1st, 2014, 18:14
5.6 نصب کردید؟
به 5.1 دانگرید کنید

ali_2636
June 1st, 2014, 20:03
نه 5.5 .
چرا به 5.1 دانگرید کنم ؟