我正在尝试安装bugzilla3。我以前安装了mysql-server-5.1,它给出了以下错误:
Aborting downgrade from (at least) 5.1 to 5.0.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered
我有一个Mysql安装,我想删除并重新安装,在LAMP堆栈上运行Ubuntu14.04。密码全乱了,phpmyadmin没有正确安装...我只想重启一下。
命令..
sudo apt-get --purge remove mysql-server mysql-common mysql-client
返回以下错误...
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
我真的很难弄清楚该怎么做。
这个命令..。
sudo dpkg-re
我已经安装了一个新的Ubuntu服务器14.04。
我已经成功地安装了php7。
但是,当我试图安装mysql-server / mysql-server-5.6时,我遇到了一个错误。
我得到了以下输出:
After this operation, 0 B of additional disk space will be used.
Setting up mysql-server-5.6 (5.6.27-0ubuntu0.14.04.1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action &
我有Ubuntu 20.04。mysql服务器安装失败。现在,当我运行sudo apt install -f时
$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of
我正在尝试安装MySQL (和phpmyadmin)。首先,我想使用以下命令安装MySQL:
sudo apt-get install mysql-server
但它会抛出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The follow
我有一个Ubuntu11.04的新安装。因为我想在这台机器上使用MySQL服务器,所以如果我在终端中输入mys并点击TAB,它就完成了对mysql的操作。但如果我做了mysql -u上面写着
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
我想“也许我必须先启动服务器”,所以我试了一下。
/etc/init.d/mysql
不幸的是巴什告诉我
bash: /etc/init.d/mysql: No such f
不久前,我安装了LAMP,运行良好,但每当我尝试启动MYSQL服务器时,我都会看到这样的情况:
$ /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) uti
本网站解释了Ubuntu18.04中的MySQL服务器安装。基本上,您可以发出命令sudo apt install mysql-server。该网站随后解释说:
安装完成后,MySQL服务将自动启动。若要检查MySQL服务器是否正在运行,请键入:sudo systemctl status mysql
这是否意味着,一旦我安装了mysql-server,它将始终在后台运行,除非我在每次重新启动时显式地终止进程?
我想偶尔使用mysql-server,但不希望它在后台不断运行。
我指的是在Ubuntu:在Ubuntu13.04上使用PHP5 5(和PHP5 5)和MySQL支持(LEMP)安装Nginx上安装Nginx的链接。
sudo su -运行正常。
apt-get install mysql-server mysql-client
mysql-client is already the newest version.
mysql-server is already the newest version.
然而,当我在火狐上尝试http://localhost时,它并没有显示欢迎页面。(也就是说,Nginx没有运行)。
无法连接Firefox无法在本地主机上
我有两个mysql更新不能安装在20.04上:
2 updates could not be installed automatically. For more details,
see /var/log/unattended-upgrades/unattended-upgrades.log
我尝试了以下几点:
$ sudo apt install mysql-server-8.0 mysql-client-8.0
The following packages have unmet dependencies:
mysql-client-8.0 : Depends: mysql-common
昨天,我正在使用安装在我电脑上的MySQL。
我下载了xampp,所以我在my.cnf文件中更改了套接字的路径:
/opt/lampp/var/mysql/mysql.sock
那份文件就在那儿。今天我想继续处理它,我发现文件已经不在了,所以我在启动mysql服务器时会收到以下错误:
ERROR 2002 (HY000):
Can't connect to local MySQL server through socket
'/opt/lampp/var/mysql/mysql.sock' (2)
以下是我做的一些测试:
mujeresponja@ubuntu
每当我尝试安装任何东西时,它总是安装mysql-server-5.7。
我试过sudo apt-get install php-mbstring,但它尝试先安装mysql 5.7。我不知道出了什么问题。
我收到了以下错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-mbstring is already the newest version (1:7.0+35ubuntu6).
0 upgraded, 0 newly installed,
我在Ubuntu上使用MySQL遇到了一些困难。刚刚安装了Apache、MySQL、PHP和phpMyAdmin。phpMyAdmin给出:
#1045 Cannot log in to the MySQL server
每一次登录尝试。我试过用户名'root‘和空密码,用户名'root’和密码'root',用户名'mysql‘和密码'mysql',用户名'mysql’和密码'root‘。
当我试图在终端中运行Access denied for user root@x.x.x.x时,也会得到mysql错误:
mysql -