我有Debian 11,我正在尝试安装一些php库,比如mysql:
命令:sudo apt install php-mysql
结果:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
d
apt-get remove mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libhtml-template-perl mysql-server-core-5.1 libevtlog0 mysql-server-5.1 libnet1
Use 'apt-get auto
我有一个单独的分区,其中包含我的www和mysql文件夹。
我将该分区设置为在引导时自动挂载,并且apache2启动正常,没有错误。
然而,当我最近删除了mysql-server-5.5的所有痕迹,重新启动然后重新启动它时,它可以正常工作。
但当我将my.cnf更改为指向/media/server/ mysql,并尝试启动mysql时,错误就消失了。
以下是我到目前为止所遵循的步骤列表。请注意,据我所知,Debian没有apparmor,所以我跳过了这一步。
Stop MySQL using the following command:
sudo /etc/init.d/mysql stop
我在一个mysql-5.6.15-debian6.0-i686.deb站点上安装了MySQL文件,并使用dpkg命令安装了它,但是在编写之后:
1)sudo service mysql start答案是:mysql: unrecognized service
2) dpkg -l |grep server无结果。如何从/opt/MySQL文件夹中附加服务?
试图在Ubuntu上安装AutoMySQLBackup
sudo apt-get update
sudo apt-获得升级
apt-获取安装自动化系统
我得到以下错误:
Setting up automysqlbackup (2.6+debian.3-1ubuntu1) ...
Could not open required defaults file: /etc/mysql/debian.cnf
Fatal error in defaults handling. Program aborted
Processing triggers for libc-bin (2.19-
我的系统有一个坏的MariaDb更新,从10.3到10.4。MariaDb仍然可以正常工作,但现在我遇到了系统升级问题。我试着在网上寻找解决方案,但似乎什么也找不到。问题:
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The
一开始我做了
debian@osboxes:~/Desktop$ mysql -u root -p
Command 'mysql' not found, but can be installed with:
sudo apt install mysql-client-core-8.0 # version 8.0.18-0ubuntu0.19.10.1, or
sudo apt install mariadb-client-core-10.3 # version 1:10.3.20-0ubuntu0.19.10.1
然后我安装了
debian@osboxes:~/D
我正在尝试使用mysqldump命令备份mysql数据库,但是我得到的消息是mysqldump:选项--表不能使用参数。
给你:
root@myhost:~# mysqldump mydatabase --user myuser --password mypassword
Warning: Using unique option prefix table instead of tables is deprecated and will be removed in a future release. Please use the full name instead.
mysqldump: opt
我正在开发Ubuntu 16.10。我使用10.1.26-MariaDB,它工作得很好。
mysql Ver 15.1 Distrib 10.1.26-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
当我尝试安装PHPMyAdmin时,我收到以下错误消息:
"ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)".
为什么会发生这种情况?
我在PHPMyAdmin安
黛比醒来时心情不好。我昨天晚上9点一直用灯工作。
我昨天到今天所做的过程是断断续续的。
当我今天打电话给您时,mysql只是不起作用。跟随我所做的一切:
详细信息。/var/mysql.err日志和/var/mysql.log不包含任何信息。
root@soufraz-debian:~# service mysql stop
[FAIL] Stopping MySQL database server: mysqld failed!
root@soufraz-debian:~# service mysql reload
[....] Reloading MySQL database serv