简体   繁体   English

Mysql 服务器无法在 Linux 中的 XAMPP 上启动

[英]Mysql server won't start on XAMPP in Linux

Hello I'm running Linux Mint 19 and I tried to install Xamp from the official website , everything seems to be perfect the installation was successfully completed but then I noticed that the MYSQL database server won't start I can head to local/dashboard standard page but when I'm trying to go to PHPMyAdmin it doesn't work it shows this message.你好,我正在运行 Linux Mint 19,我尝试从官方网站安装 Xamp,一切似乎都很完美,安装成功完成,但后来我注意到 MYSQL 数据库服务器无法启动我可以前往本地/仪表板标准页面,但是当我尝试转到 PHPMyAdmin 时,它不起作用,它显示此消息。

Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also, ensure that cookies are enabled in your browser.

session_start(): open(SESSION_FILE, O_RDWR) failed: Permission non accordée (13)

session_start(): Failed to read session data: files (path: /opt/lampp/temp/)

Try reinstalling xampp and change $cfg['Servers'][$i]['auth_type'] = 'cookie' in config.inc.php file.尝试重新安装 xampp 并更改 config.inc.php 文件中的 $cfg['Servers'][$i]['auth_type'] = 'cookie'。

Then,然后,

Open the terminal and try running this command:打开终端并尝试运行以下命令:

chmod -R 777 /opt/lampp

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM