You shouldn't be using dots on your table/column names.
eloquent table name with dots
my table name contains dots
protected $table = 'monitoring.users';
But when i select it splits into peaces
SQL: select * from `monitoring`.`users`
In SQL dots (.) separate objects. A schema is a database to MYSQL. In general terms a schema describes an object. You can have a Database schema or Table schema for example. Using the 'dot' gives a more precise naming of a database object. Two tables can contain a column of the same name 'foo'. You specify which one by the table name using 'dot'. So you have table1.foo and table2.foo. Or at the 'database' level myDatabase.table1.foo and yourDatabase.table1.foo. And do not confuse the ability to name a specific database instance as a way to reference a PostGres table and a MySQL table in the same query. You cannot without some help from a class or driver.
Please or to participate in this conversation.