1

I just ran across common_schema, a utility for MySQL database administrators. It is a SQL script that creates a schema called common_schema in your database and plenty of stored procedures.

I need it for a corporate database that stores confidential information. How can I make sure it is safe? It is stored on Google Code and doesn't have a checksum or even less a signature. I'm just supposed to do some

mysql -u root -p < common_schema-2.2.sql

But somehow it doesn't feel right to dump 31K SQL lines into my DB. Am I missing something? Any ideas? Its author is Shlomi Noach, an active StackExchange user.

e18r
  • 123
  • 6
  • first of all You must answer for Your self - for what reason You need common_schema? What set of functions? and check - what alternatives You have? – a_vlad Nov 15 '16 at 21:04
  • I'd like to audit the privileges users currently have on my DB: http://dba.stackexchange.com/questions/23265/mysql-show-grants-for-all-users – e18r Nov 15 '16 at 21:43
  • what the problem with - SHOW GRANTS FOR user@'host'; ? and at the same link also included persona toolkit link, I not tell You common schema is bad, but if just for this ... why not use or build in or supported by well knowing companies and included in most of Linux repositories tools? – a_vlad Nov 15 '16 at 21:59
  • You always can write this view by Your self - schema mysql, tables - user, db, tables_priv, columns_priv
  • – a_vlad Nov 15 '16 at 22:01
  • If you worry then you may need to inspect the code yourself or do not import that and write the function and procedures by yourself. – Nawaz Sohail Nov 16 '16 at 08:09
  • Why do you trust MySQL? It is free software downloaded, just like Common Schema. My point is that you have a really big question, for which there is no simple answer (today). (Sure, a checksum could be added; but that won't prevent it from being 'evil' software.) – Rick James Nov 17 '16 at 23:39