我是新来的。我的问题是,我有一个数组$hometeamid,它包含需要显示详细信息的所有id。我怎样才能得到数据。快来人帮帮我$mod = Yii::app()->db->createCommand('SELECT * FROM event WHERE id = 1432201 or id = 1432208')->queryAll(); $mod = Event::model()->findByAttributes(array('id' => $no));<br>
但不起作用
我试图将现有的.sql文件导入到phpMyAdmin上的MySQL DB中。但是我不能使用MySQL连接mysql browser like Sequel Pro。我想这是因为ERROR (2002)
这是当我在终端上输入mysql时的结果。ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/XAMPP/