我正在使用MySql运行GlassFish Server Open Source Edition 3.1.2.2 (build 5)
我已经使用NetBeans创建了一个JDBC ConnectionClass name is wrong or classpath is not set for : com.mysql.jdbc.jdbc2.optional.MysqlDataSource Pleasetest] connection for pool [ AffableBeanPool ], Class name is wrong or classpath
因此,我一直在使用MySQL在rails服务器上工作,突然无法访问我的数据库。当我尝试用mysql -u root -p登录时,我得到了ERROR 2002 (HY000): Can't connect to local MySQL server through socket '我用apt-get remove --purge命令清除了apache和mysql,并重新安装。一切都很顺利,阿帕奇启动得很好,然后尝试用systemctl start mysql重新启动mysql</