federicorussi Posted October 26, 2015 Share Posted October 26, 2015 dear,after the repair of the db by the admin I'm unable to write on the db, only read.the db is fedeener_marcatempo.Regards Link to comment Share on other sites More sharing options...
wolstech Posted October 26, 2015 Share Posted October 26, 2015 This support request is being escalated to our root admin. Link to comment Share on other sites More sharing options...
Krydos Posted October 26, 2015 Share Posted October 26, 2015 Are you saying that INSERT queries not working? Can you post an error message? Link to comment Share on other sites More sharing options...
federicorussi Posted October 26, 2015 Author Share Posted October 26, 2015 no error is showing. the queries seems to finish well but no data have been saved. Link to comment Share on other sites More sharing options...
Krydos Posted October 27, 2015 Share Posted October 27, 2015 Can you post the query that isn't working, and the username of the account that is running that query? Link to comment Share on other sites More sharing options...
federicorussi Posted October 27, 2015 Author Share Posted October 27, 2015 $query="INSERT INTO dispositivi VALUES ('','$apikey','$dispositivo')"; user: fedeener Link to comment Share on other sites More sharing options...
Krydos Posted November 2, 2015 Share Posted November 2, 2015 Your password has been manually reset, tested, and emailed to your contact email address. mysql> select * from dispositivi; +----+----------------------------------+--------------------------------------+ | id | apikey | chiave | +----+----------------------------------+--------------------------------------+ | 3 | c286419dd7e831876f246c31ecece481 | 00000000-1c38-88b5-1599-90314fe98fb8 | +----+----------------------------------+--------------------------------------+ 1 row in set (0.00 sec) mysql> INSERT INTO dispositivi VALUES ('','933hjrih3rh','00000000-783j-u937-jks9'); ERROR 1366 (HY000): Incorrect integer value: '' for column 'id' at row 1 mysql> INSERT INTO dispositivi VALUES ('4','933hjrih3rh','00000000-783j-u937-jks9'); Query OK, 1 row affected (0.00 sec) mysql> select * from dispositivi; +----+----------------------------------+--------------------------------------+ | id | apikey | chiave | +----+----------------------------------+--------------------------------------+ | 3 | c286419dd7e831876f246c31ecece481 | 00000000-1c38-88b5-1599-90314fe98fb8 | | 4 | 933hjrih3rh | 00000000-783j-u937-jks9 | +----+----------------------------------+--------------------------------------+ 2 rows in set (0.00 sec) mysql> delete from dispositivi where id = '4'; Query OK, 1 row affected (0.00 sec) As you can see the user fedeener can select, insert, and delete from the table fedeener_marcatempo.dispositivi. However, the error is that it doesn't like the '' value for the id column. Let us know if you need any further assistance. Link to comment Share on other sites More sharing options...
Recommended Posts