0 کاربر و 1 مهمان درحال مشاهده موضوع.
Failed to start mysql.service: Unit mysql.service not found.
systemctl list-unit-files '*mariadb*' '*mysql*'
UNIT FILE STATE VENDOR PRESET0 unit files listed.
UNIT FILE STATE VENDOR PRESETmariadb.service enabled enabled mariadb@.service disabled enabled mysql.service alias - mysqld.service alias - 4 unit files listed.
سلام خروجی دستور sudo systemctl start mysqlکد: [انتخاب]Failed to start mysql.service: Unit mysql.service not found.با تغییر پورت هم کاری از پیش نرفت
نصب شد دوباره خروجی گرفتم و بسته های زیر نصب بود کد: [انتخاب]UNIT FILE STATE VENDOR PRESETmariadb.service enabled enabled mariadb@.service disabled enabled mysql.service alias - mysqld.service alias - 4 unit files listed.هم مای اس کیو ال و هم mariadb رو استارت می کنم خروجی نداره و توی زمپ هم فعال نشده و ورد پرس هم ارور دسترسی به پایگاه داده رو میده
/var/www/html/
نقلقول از: Mehr32 در 24 مهر 1400، 12:03 بظسلام خروجی دستور sudo systemctl start mysqlکد: [انتخاب]Failed to start mysql.service: Unit mysql.service not found.با تغییر پورت هم کاری از پیش نرفت مطمئنید که mysql رو درست نصب کردید؟
sudo /opt/lampp/lampp start
LAMPP: Starting Apache...LAMPP: Starting MySQL...LAMPP started.Ready. Apache and MySQL are running.
tarting all servers...Starting MySQL Database...Starting Apache Web Server.../opt/lampp/apache2/scripts/ctl.sh : httpd startedStarting ProFTPD...Checking syntax of configuration file/opt/lampp/proftpd/scripts/ctl.sh : proftpd startedStarting MySQL Database...Starting MySQL Database...
Starting XAMPP for Linux 8.0.10-0...XAMPP: Starting Apache...already running.XAMPP: Starting MySQL.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not foundok.XAMPP: Starting ProFTPD...already running. /opt/lampp/bin/mysql.server: 264: kill: No such process
Welcome to phpMyAdminErrorMySQL said: DocumentationCannot connect: invalid settings.mysqli::real_connect(): (HY000/2002): Connection refusedConnection for controluser as defined in your configuration failed.mysqli::real_connect(): (HY000/2002): Connection refusedphpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
● mariadb.service - MariaDB 10.5.12 database server Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor prese> Active: active (running) since Sun 2021-10-17 11:05:24 +0330; 2min 27s ago Docs: man:mariadbd(8) https://mariadb.com/kb/en/library/systemd/ Main PID: 8801 (mariadbd) Status: "Taking your SQL requests now..." Tasks: 9 (limit: 6997) Memory: 64.0M CPU: 492ms CGroup: /system.slice/mariadb.service └─8801 /usr/sbin/mariadbd
/opt/lampp/bin/