Hello,
Homebrew Mysql 8.1 /opt/homebrew/bin/mysql
Homebrew Apache 2.4.52 /opt/homebrew/bin/httpd
Macbook Pro M1 pro chip
Macos Monterey
New setup
Apache, Mysql, PhpMyAdmin all work.
However, I get the following error when trying to create a new app from the Trongate app.
I downloaded the trongate zip file from github.
extracted and renamed, set config files. Created a database.
Everything works as it should.
I tried to add the Members Module.
When I go to modify an existing app I get the error below.
I also get an error TYPEERROR: CONN.DESTRUCT IS NOT A FUNCTION.
I know this type of error has something to do with the database connection.
Where is the file appdata located? Have not been able to find it .
Thanks, Dan
TYPEERROR: CONN.QUERY IS NOT A FUNCTION
4 years ago
4 years ago
#1
4 years ago
#2
Could this be a port issue? The default db connection port for MySQL is 3306. Not sure if same for MariaDB.
4 years ago
#3
Good suggestion.
mysqld 0t0 TCP 127.0.0.1:3306 (LISTEN)
mysqld 0t0 TCP 127.0.0.1:3306 (LISTEN)
4 years ago
#4
Ah OK. Are you using the default user 'root' and password 'root'? I recall some installations seem to need a password set to 'root'.
4 years ago
#5
Yes root with a set password
I seem to remember something about deleting the app data folder
I seem to remember something about deleting the app data folder
4 years ago
#6
OK. I only ever use MAMP, so I guess these kinds of potential issues are handled, leaving me with only a surface level understanding of the system.
4 years ago
#7
Hi Dan,
%appdata% is a Windows alias for user folders where Trongate, or more precisely Electron keeps its settings. On the Mac it's different and from memory, open finder, the look for my computer, then users/your name/library/application support/trongate
But I don't think this is your problem.
Hmm you say everything else works? phpMyAdmin? Localhost?
Just the desktop app?
%appdata% is a Windows alias for user folders where Trongate, or more precisely Electron keeps its settings. On the Mac it's different and from memory, open finder, the look for my computer, then users/your name/library/application support/trongate
But I don't think this is your problem.
Hmm you say everything else works? phpMyAdmin? Localhost?
Just the desktop app?
4 years ago
#8
Simon, Yes it all works.
Just the desktop app does not.
Dan
Just the desktop app does not.
Dan
4 years ago
#9
OK, if you can wait a bit as just got back home from work. I'll uninstall Xampp from my Macbook Pro and install via Brew as you posted on the forum to see if I can recreate what's happening to you. If I get the same issue, I'll try work it out and report what I find.
In the meantime, could you uninstall MySQL and replace with MariaDB? Just to eliminate you MySQL install as being the issue.
#update> can you let me know how you installed MySQL? I've installed Apache and PHP via Brew
In the meantime, could you uninstall MySQL and replace with MariaDB? Just to eliminate you MySQL install as being the issue.
#update> can you let me know how you installed MySQL? I've installed Apache and PHP via Brew
4 years ago
#10
I installed it through homebrew