无法连接-无效的设置 [英] Cannot connect - invalid settings

查看:60
本文介绍了无法连接-无效的设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Windows 10&Xampp/MySql/PhpMyAdmin遇到各种麻烦,这些问题在Windows 7上没有出现.

I'm using windows 10 & am having all kinds of trouble with Xampp/MySql/PhpMyAdmin, problems which I did not get on Windows 7.

因此,基本上,我在工作中创建了一个Laravel网站,仍在使用Windows 7,因此MySQL数据库的密码在该网站上可以正常工作.

So basically I made a Laravel website at work where I still use windows 7, so the password for the MySQL database works fine there.

但是,当我尝试在家中(Windows 10)登录我的网站时,出现使用密码为NO"错误...因此,为了纠正此错误,我使用了Xampp shell并执行了以下命令: mysqladmin--user = root密码"newpassword" ,该密码然后允许我使用网站上以前不起作用的任何数据库相关功能,但是现在当我尝试进入localhost/phpmyadmin时,出现错误无法连接-无效的设置".

However when I try to login on my website at home (windows 10) I get the 'using password NO' error... So to rectify this error I used the Xampp shell and executed this command: mysqladmin --user=root password "newpassword" which then allowed me to use any database dependent functions on my website that previously did not work, but now when I try to get onto localhost/phpmyadmin I am getting the error 'Cannot connect - invalid settings'.

总而言之,我可以

A.可以使用phpmyadmin正常,但是我Laravel网站的数据库依赖功能均不起作用.

A. get on phpmyadmin fine but none of the database dependent features of my Laravel site work.

B.数据库功能全部正常,但我无法再访问phpmyadmin.

B. The database features all work but I can't access phpmyadmin anymore.

任何人都可以建议我如何使两者同时工作吗?!

Can anyone advise on how I can get both things to work?!

推荐答案

所以您正在使用两台计算机,对吗?

So you're using two machines, correct?

这将是您的配置与其他配置不同.

Then it will be your configuration that's different from the other.

将其重新安装在Windows 10计算机上,然后在另一台计算机上复制您所做的操作(将xampp文件复制到php.ini和任何其他配置文件中).

Reinstall it on the Windows 10 machine and replicate what you've done on the other machine (copy the xampp files over like the php.ini and any other configuration file).

这篇关于无法连接-无效的设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆