« first day (2059 days earlier)      last day (599 days later) » 

1:00 PM
Hello

http://stackoverflow.com/questions/40240353/store-json-in-mysql-as-text
 
 
1 hour later…
2:20 PM
@ChrisP You can insert JSON straight into your table as a string (I'm assuming the column has the JSON data type).
I'll warn you: you don't want to store permissions in a JSON data structure
It makes it impossible to efficiently look up users based on their permissions
 
 
3 hours later…
4:57 PM
Hey all, every time I try to login as root (with password), I receive this message: Access denied for user 'root'@'localhost' (using password: YES) (or no). This started happening after I ran mysql_secure_installation command. I tried running mysql without grand tables to change the root password, but after I quit the session and enter the new one, it still won't let me login. Any ideas?
I am using Ubuntu 14.04 and mysql 14.14
 
 
2 hours later…
6:33 PM
@Thanos how many users do you have with the root username?
@Thanos What queries are you running to change the password?
 
How to get data out of mysql and assign those values to a variable using python?
 
@user6813858 That's more up to the Python library that you're using to interact with MySQL than anything else. It's common in different languages in different libraries for each result row to be represented as an array of values, and the query result to be represented as an array of those rows.
 
mysqldb
if i do,
for row in user:
h1 = row[0]
it just gets first value instead what i wanted is that for all the value that exist should gets assigned to a variable
 
7:15 PM
@user6813858 you want an array of all the values from the first column in each row?
 

« first day (2059 days earlier)      last day (599 days later) »