下面涉及到的指令都是在Ubuntu下以root用户执行的,如果你不是在用root,那么,请自行加上sudo指令
1、既然标题都了是deb方式,那么肯定是依靠互联网软件库的啦:
sudo apt-get install phpmyadmin
2、安装完成之后,系统内会增加这么几个目录:
/etc/phpmyadmin
/usr/share/phpmyadmin
3、按理说,这个时候在浏览器(比如firefox)里面浏览http://localhost/phpmyadmin,看到下列界面后用管理员身份登录(比如用账号root登录)就可以正常使用了的:
Ubuntu下安装phpmyadmin过程(deb包)[图文]
4、但是,该死的,我在登录的时候就发现下面的错误:
#2002 - 服务器没有响应 (or the local MySQL server’s socket is not correctly configured)
5、着急啊,心里面知道肯定是哪个配置文件的某个参数配置出错了:
编辑/etc/phpmyadmin/config.inc.php,原来有这样一行的──
$cfg[’Servers’][$i][’host’] = ‘localhost’;
请修改为这样──
$cfg[’Servers’][$i][’host’] = ‘127.0.0.1′;
可以发现,这个值和mysql的配置文件/etc/mysql/my.cnf中的下列行息息相关──
bind-address = 127.0.0.1
分享到:
相关推荐
#### ORA-00103: Shared Server Not Configured Correctly 共享服务器配置不正确。这可能是由于配置错误或服务管理器的问题。 #### ORA-00104: Full Divisional Lockout Occurred 发生了完全部门锁定。这可能是由于...
- Some Logical Layer CARs are not being set correctly in the core. - Version fixed : v4.4 - CR#458414 / AR#30054 - The following Logical Layer CARs are not being set correctly in the core: - ...
##### ORA-00063: LOG_FILES Not Set Correctly - **描述**:LOG_FILES设置不正确。 - **解决方法**: - 确认LOG_FILES的值是否符合需求。 - 检查参数设置是否正确。 ##### ORA-00064: Unable to Open File O/S ...
The `payara/server-das` image is used to start the domain administration server (DAS), which manages the cluster configuration and provides administrative services. #### Payara Server Instance Docker...
Although the file names are received correctly by TDropFileTarget, WinZip doesn't extract the files and the files thus can't be copied/moved. This is caused by a quirk in WinZip; Apparently WinZip ...
The Microsoft clients can be configured to use a UB name server by adding the SYSTEM.INI parameter RefreshOpCode under the [NBT] section. Set its value to 9 to interoperate with UB name servers. ...
The application is not correctly signed(解决方案).md
5) Run "mvn --version" to verify that it is correctly installed. For complete documentation, see http://maven.apache.org/download.html#Installation Licensing --------- Please see the file ...
Diskeeper 2008 HomeServer is the only defragmentation solution specifically designed for Windows Home Server operating system. Diskeeper HomeServer provides a snap-in to the new WHS console, ...
解决:'RICHTX32.OCX' or one of its dependencise not correctly registered. 运行下载后的EXE程序,补充系统中缺少的文件
- Local APIC configure option --enable-apic is deprecated and should not be used anymore. The LAPIC option now automatically determined from other configure options. XAPIC functionality could be ...
Component'MSADODC.OCX' or one of its dependencies nt correctly
The remote computer can be anywhere on the Internet or in your local network. You don't need a fast network connection. Even with a MODEM the screen update speed is an acceptable 5-10 screen updates...
- 0000712: raise error if Form owner is not either TUniGUIApplication or TApplication - 0000609: TUniTimer: Attach to TUniScreenMask - 0000703: TUniDBLookUpxxx bug when datasource and datafield are ...
- **Pre-increment and Pre-decrement:** Prefer pre-increment and pre-decrement over post-increment and post-decrement when the value is not needed after the operation. - **Use of const:** Use const for...
installation will not work correctly if you do not use the same media type for the backup disks. To start the installation, change your current drive to the one that has the install program on ...
installation will not work correctly if you do not use the same media type for the backup disks. To start the installation, change your current drive to the one that has the install program on ...
**Understand Flask’s Basic Application Structure:** The book starts by introducing the fundamental structure of a Flask application, including the initialization process, defining routes and view ...
在安装配置过程中可能会遇到一些问题,例如“启动Tomcat时报错:The BASEDIR environment variable is not defined correctly”等。此类问题通常表明环境变量配置不正确或缺失。解决方法是检查`catalina.sh`中的环境...
Ports is the collection of meta-data that is needed to make software packages build correctly on FreeBSD. An example of a port is the port for the web-browser Mozilla. It contains information about ...